Re: Package.getImplementationVersion

Jeroen Frijters <[email protected]>
Newsgroups gmane.comp.java.ikvm.devel
Message-ID <[email protected]>
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:[email protected]]
> Sent: Tuesday, February 18, 2014 18:17
> To: Jeroen Frijters
> Cc: [email protected]
> 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 <[email protected]
> <mailto:[email protected]> > 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 <[email protected]
> <mailto:[email protected]> > 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:[email protected]
> <mailto:[email protected]> ]
> 
> 		> 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
> <[email protected] <mailto:[email protected]>
> 
> 		> <mailto:[email protected] <mailto:[email protected]> > >
> wrote:
> 		>
> 		>
> 		>       Please post a (small) repro.
> 		>
> 		>
> 		>       > -----Original Message-----
> 		>       > From: Eric Pederson [mailto:[email protected]
> <mailto:[email protected]>
> 		> <mailto:[email protected] <mailto:[email protected]> > ]
> 		>       > Sent: Saturday, February 8, 2014 1:36
> 
> 		>       > To: [email protected]
> <mailto:[email protected]>  <mailto:ikvm-
> <mailto:ikvm->
> 		> [email protected]
> <mailto:[email protected]> >
> 		>       > 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
> 		>
> 		>
> 		>
> 
> 
> 
> 


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.