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

Fredrik Öhrström oehrstroem at
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
-cp ....javac.jar
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.


More information about the build-dev mailing list