Review Request: 8006872: build-infra: Stop creating 4 identical jars in langtools

Erik Joelsson erik.joelsson at oracle.com
Mon Jan 28 10:39:56 UTC 2013


Looks good except for missing common/makefiles/javadoc/Javadoc.gmk. 
Could you please make sure the docs target works too?

/Erik

On 2013-01-24 20:57, Fredrik Öhrström wrote:
> Stop creating 4 identical jars in langtools. The jars
> javac.jar,javap.jar,javah.jar and javadoc.jar
> contain the same content, except for a minor difference in the
> manifest that tells where the main class is.
> This is unnecessary, in particular since javap and javah are not used
> in the build.
>
> A single jar on the classpath followed by the main class name. E.g.
> -cp ....javac.jar com.sun.tools.javac.Main
> -cp ....javac.jar com.sun.tools.javadoc.Main
> is good enough.
>
> Also move the specification of how to run the boostrap javac into spec.gmk
> where it is called NEW_JAVAC.
>
> Everything should be pushable into the build repo. The change in langtools
> is so small that it does not need to be handled through tl.
>
> http://cr.openjdk.java.net/~ohrstrom/webrev-runjavac-8006872-root/
> http://cr.openjdk.java.net/~ohrstrom/webrev-runjavac-8006872-langtools/
> http://cr.openjdk.java.net/~ohrstrom/webrev-runjavac-8006872-corba/
> http://cr.openjdk.java.net/~ohrstrom/webrev-runjavac-8006872-jaxp/
> http://cr.openjdk.java.net/~ohrstrom/webrev-runjavac-8006872-jaxws/
> http://cr.openjdk.java.net/~ohrstrom/webrev-runjavac-8006872-jdk/
>
> //Fredrik



More information about the build-dev mailing list