Details
-
Type:
Bug
-
Status: Open (View Workflow)
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.1.6, 1.2.0
-
Fix Version/s: Icebox
-
Component/s: mcsapi
-
Labels:None
-
Environment:Windows, Linux
Description
If we generate a Jar that includes javamcsapi as extracted library the getJavaMcsapiVersion() function returns unknown instead of the version information.
Using the package required libraries option works as expected.
Confirm-able with following code:
package com.mariadb; |
|
import com.mariadb.columnstore.api.*; |
|
public class MCOL { |
|
public static void main(String[] args) { |
ColumnStoreDriver d = new ColumnStoreDriver(); |
System.out.println(d.getVersion());
|
System.out.println(d.getJavaMcsapiVersion());
|
}
|
}
|
and included bug.jar.
java -jar bug.jar
|
> 1.2.0-3e88a57
|
> unknown
|