Tim,

That looks like a reasonable analysis. I've been thinking if there is any better way we could have staged the bits here, but this really does seem like a chicken and egg problem. The only thing that would have avoided this problem is to weaken the requirement that all the imported packages exist, but for the most part, that sounds like a good check to have.

Fortunately, we don't get to add packages too often!

-- Jon


On Jun 6, 2008, at 10:27 AM, Tim Bell wrote:

Joël wrote:

The target "images" is broken since I pulled 2 days ago this changeset: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/f494f33398f1 "6708729: update jdk Makefiles for new javap"

The build error is:
[...]
/jmgt/mirror/jdk/6_05/promoted/latest/binaries/solaris-sparcv9/bin/ jar c0f /jmgt/user/hg/repositories/jdk7/tl-local/jdk/build/solaris- sparc/lib/tools.jar -C [...] \ -J-client -J-Xmx896m -J-Xms128m -J-XX:PermSize=32m -J- XX:MaxPermSize=160m /jmgt/user/hg/repositories/jdk7/tl-local/jdk/build/solaris-sparc/ classes/com/sun/tools/classfile : no such file or directory /jmgt/user/hg/repositories/jdk7/tl-local/jdk/build/solaris-sparc/ classes/com/sun/tools/javap : no such file or directory
gnumake: *** [initial-image-jdk] Error 1

Anybody else having noticed this problem?

After sleeping on this issue I believe I understand what is happening.

When you build only tl/jdk the other pieces are assembled from the latest promoted JDK. The new classes Jon added for 6708729/6439940 are not there yet, so they are not pulled
over.  The build fails later when trying to assemble tools.jar.

The following statement applies only to the jdk7/tl forest: until b30 is promoted, you _must_
build (at least) langtools plus jdk to get the new classes added.

You may build the rest (corba hotspot jaxp jaxws etc...) if you wish.

Tim


Reply via email to