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

Fredrik Öhrström oehrstroem at gmail.com
Thu Jan 24 19:57:59 UTC 2013


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