Is the use case of full OpenJDK followed by the jdk sub tree possible?
martijnverburg at gmail.com
Sat Apr 21 07:27:08 PDT 2012
For the javac bug warnings day I'm trying to set-up a VM which contains a
full clone of http://hg.openjdk.java.net/jdk8/tl (into
the ~/jdk8_tl directory). I'm then building the full OpenJDK with:
ALT_BOOTDIR=/opt/java/1.7.0_03 (an installation of Oracle's binary)
The full build below works just fine:
I'm then looking to build the jdk sub tree after that with compiler
warnings switched on. I'm hoping to pick up the latest hotspot etc that was
just built. So I execute the following:
make JAVAC_MAX_WARNINGS=true JAVAC_WARNINGS_FATAL=
OTHER_JAVACFLAGS="-Xmaxwarns 10000" &> build.log
However this subtree build errors out as it can't find various paths/files
to build/reference. I started 'educated guessing' what env vars to set
(such as ALT_HOTSPOT_SERVER_PATH, ALT_HOTSPOT_CLIENT_PATH
& ALT_HOTSPOT_IMPORT_PATH). However, I'm concerned I'm going down the wrong
path, as I'm adding more and more env vars, complicating the set-up
Is the set of env vars you would typically set for a full build different
to a subtree (jdk) build? Is there a set that will work for both, in
particular the partial build after the full build?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the build-dev