[MCOL-1819] javamcsapi's getJavaMcsapiVersion() function returns unknown if included as extracted library Created: 2018-10-17  Updated: 2023-10-26  Resolved: 2022-11-05

Status: Closed
Project: MariaDB ColumnStore
Component/s: None
Affects Version/s: 1.1.6, 1.2.0
Fix Version/s: Icebox

Type: Bug Priority: Minor
Reporter: Jens Röwekamp (Inactive) Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None
Environment:

Windows, Linux


Attachments: File bug.jar     PNG File export.PNG    

 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



 Comments   
Comment by Todd Stoffel (Inactive) [ 2022-11-05 ]

This item is being closed because it was well passed the expiration date with no activity. If you suspect this was done in error please create a new ticket.

Generated at Thu Feb 08 02:31:36 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.