Building with a new javac flag

Alex Buckley alex.buckley at oracle.com
Tue Nov 13 12:50:24 PST 2012


On 11/13/2012 4:00 AM, Alan Bateman wrote:
> This one may be significant enough to me to justify a configure option.
> On the other hand, "make images profiles" would mean all the resulting
> images (JDK, JRE, and Compact Profiles) would either all have/not the
> parameter names.

The primary reason for storing parameter names in JDK8 class files is to 
help IDE vendors, so it's fine if only the JDK image has them. We are 
not making a general promise that any program will be able to find 
parameter names of core Java Java SE classes at runtime. (Again, please 
set aside concerns about footprint, compatibility, etc on this list.)

It sounds like a ./configure option of --enable-parameters could add an 
option to JAVAC_FLAGS - you say it would affect all images? But Erik 
said "the value of the option has different defaults depending on jdk 
variant/profile".

Where should we look at the new build, given that the parameter feature 
lives in the jdk8/tl forest?

Alex



More information about the build-infra-dev mailing list