Re: [Ikvm-developers] Package.getImplementationVersion
Brought to you by:
jfrijters
|
From: Jeroen F. <je...@su...> - 2014-02-19 09:43:56
|
I don't know. I asked you to post a repro and so far I haven't seen anything. Regards, Jeroen > -----Original Message----- > From: Eric Pederson [mailto:er...@gm...] > Sent: Tuesday, February 18, 2014 18:17 > To: Jeroen Frijters > Cc: ikv...@li... > Subject: Re: [Ikvm-developers] Package.getImplementationVersion > > Hi Jeroen - I just wanted to follow up on this. It looks like a bug? > > Thanks, > > > -- Eric > > > > On Tue, Feb 11, 2014 at 1:17 PM, Eric Pederson <er...@gm... > <mailto:er...@gm...> > wrote: > > > Hi Jeroen: > > Per your instructions I created a small test case. If I create a > DLL with just the jar that has the class that I am calling > getClass().getPackage().getImplementationVersion() on, then it works > fine. However, if the DLL is created with a number of jars, then it > uses the information from the manifest of the first jar. For example > the DLL is created with: > > ikvmc -target:library -out:MyLib.dll -version:3.2.1 - > sharedclassloader jar1.jar jar2.jar jar3.jar > > it will always use the information from the manifest of jar1.jar, > even if the class in question is from jar2.jar. > > Thanks, > > > -- Eric > > > > On Tue, Feb 11, 2014 at 2:52 AM, Jeroen Frijters <je...@su... > <mailto:je...@su...> > wrote: > > > Hi Eric, > > After you create the dll you can create an exe from a small > Java class that prints the package info. Compile the test class like > this: > > ikvmc -out:test.exe Test.class -r:MyLibrary.dll > > Regards, > Jeroen > > > > -----Original Message----- > > From: Eric Pederson [mailto:er...@gm... > <mailto:er...@gm...> ] > > > Sent: Monday, February 10, 2014 19:10 > > To: Jeroen Frijters > > Subject: Re: [Ikvm-developers] > Package.getImplementationVersion > > > > Hi Jeroen: > > > > What's the best way to create a small repro? I'm a Java > guy and I don't > > know the best way to do this. The project that I'm working > on is a > > Excel .XLL addin. I can create a small DLL based on a > small jar using > > ikvmc - how would I test that DLL? > > > > In the meantime, here's some more clues - the other > package.getXXX > > methods also return values that aren't the same as the > manifest for the > > jar that contains the class: > > > > > > getImplementationVersion: 1.1 > > > > getImplementationTitle: Sun Java System Application Server > > > > getImplementationVendor: Sun Microsystems, Inc. > > > > getSpecificationVersion: 1.1 > > > > getSpecificationTitle: JavaBeans(TM) Activation Framework > Specification > > > > getSpecificationVendor: Sun Microsystems, Inc. > > > > > > > > > > Thanks! > > > > > > > > -- Eric > > > > > > > > On Sun, Feb 9, 2014 at 5:56 AM, Jeroen Frijters > <je...@su... <mailto:je...@su...> > > > <mailto:je...@su... <mailto:je...@su...> > > > wrote: > > > > > > Please post a (small) repro. > > > > > > > -----Original Message----- > > > From: Eric Pederson [mailto:er...@gm... > <mailto:er...@gm...> > > <mailto:er...@gm... <mailto:er...@gm...> > ] > > > Sent: Saturday, February 8, 2014 1:36 > > > > To: ikv...@li... > <mailto:ikv...@li...> <mailto:ikvm- > <mailto:ikvm-> > > dev...@li... > <mailto:dev...@li...> > > > > Subject: [Ikvm-developers] > Package.getImplementationVersion > > > > > > Hi all: > > > > > > this.getClass.getPackage.getImplementationVersion > returns "1.1" > > instead > > > of the string in the MANIFEST.MF using a DLL built > with ikvmc > > > 7.2.4630.5. I saw in mailing list post that 7.1 > should support > > it. > > > > > > Please advise, thanks! > > > > > > > > > -- Eric > > > > > > > > > > |