jsr instructions in OpenJDK 6 classes

Andrew Haley aph at redhat.com
Thu Feb 2 16:59:24 UTC 2012


On 02/02/2012 04:52 PM, Joe Darcy wrote:
> stackmaps are used.
> 
> I haven't delved into the OpenJDK 6 build before writing this email, but 
> I suspect some of the classes in rt.jar are compiled with -target 5, but 
> javac in OpenJDK 6 defaults to -target 6 so you wouldn't see jsr 
> instructions from a stock compile.

Well, I'm using the same compile command so that doesn't quite explain it,
but never mind.

Why are some of the classes in rt.jar are compiled with -target 5 ?
Would it hurt simply to remove that?

Andrew.



More information about the build-dev mailing list