2009/3/31 Jonathan Gibbons <jonathan.gibb...@sun.com>:
> Andrew,
> See this response sent by Tim on March 26.
> -- Jon
>
> Hi Neale:
>
> I’m trying to build the JDK for the first time. I grabbed the sources from
> the mercurial repository and followed the FAQ to perform the build. It
> builds a heap of stuff before it dies with the following:
>
> error: com.sun.jmx.snmp.SnmpValue: class file for com.sun.jmx.snmp.SnmpValue
> not found
>
> error: class file for com.sun.jmx.snmp.SnmpValue not found
>
> The source code for the above class is there but it doesn’t appear to be
> being compiled. Is this a known problem or a newbie mistake easily fixed?
>
> This is bug-id 6819847 "build is broken for OpenJDK with plugs"
>
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6819847
>
> the work around is to define
>  IMPORT_BINARY_PLUGS=true
>
> This was an unintended consequence of the fix for
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6661448
>
> Hope this helps-
>
> Tim Bell
>
>
> On Mar 31, 2009, at 2:50 AM, Andrew Haley wrote:
>
> This is with jdk-7-ea-plug-b52-linux-x64-26_mar_2009.jar:
>
> /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/java  -Xmx896m -Xms128m
> -XX:PermSize=32m -XX:MaxPermSize=160m
> "-Xbootclasspath/p:/local/openjdk7/jdk7/build/linux-amd64/langtools/dist/bootstrap/lib/javac.jar"
> -jar
> /local/openjdk7/jdk7/build/linux-amd64/langtools/dist/bootstrap/lib/javac.jar
>  -source 1.5 -target 5 -encoding ascii
> "-Xbootclasspath:/local/openjdk7/jdk7/build/linux-amd64/classes"
>  -XDprocess.packages -proc:only \
>            -processor com.sun.tools.javac.sym.CreateSymbols \
>            -Acom.sun.tools.javac.sym.Jar=/local/openjdk7/jdk7/build/linux-amd64/tmp/rt-orig.jar
> \
>            -Acom.sun.tools.javac.sym.Dest=/local/openjdk7/jdk7/build/linux-amd64/symbols/META-INF/sym/rt.jar
> \
>            java.applet java.awt java.awt.color java.awt.datatransfer
> java.awt.dnd java.awt.event java.awt.font java.awt.geom java.awt.im
> java.awt.im.spi java.awt.image java.awt.image.renderable java.awt.print ...
> warning: package com.sun.java.swing.plaf does not exist
> Using boot class path =
> [/local/openjdk7/jdk7/build/linux-amd64/tmp/rt-orig.jar, ...
> error: com.sun.jmx.snmp.SnmpValue: class file for com.sun.jmx.snmp.SnmpValue
> not found
> error: class file for com.sun.jmx.snmp.SnmpValue not found
> 1 error
> make[2]: *** [initial-image-jdk] Error 1
> make[2]: Leaving directory `/local/openjdk7/jdk7/jdk/make'
> make[1]: *** [jdk-build] Error 2
> make[1]: Leaving directory `/local/openjdk7/jdk7'
>
> And indeed, com.sun.jmx.snmp.SnmpValue is not present in
> openjdk-binary-plugs/jre/lib/rt-closed.jar.
>
> Am I the only one to have seen this?
>
> Andrew.
>
>
>

So I take it IMPORT_BINARY_PLUGS is now available in 7? Great!

Though that patch was apparently delivered in b53, whereas the last
build drop is b51...
-- 
Andrew :-)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net

PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8

Reply via email to