AdapterMethodHandle not found

Pete Brunet peter.brunet at oracle.com
Fri May 3 08:42:55 PDT 2013


I cloned jdk7u-dev today, via get_source.sh and then built from the
jdk/make directory using:
make ARCH_DATA_MODEL=32 ALLOW_DOWNLOADS=true NO_DOCS=true

The build ran a long time and then failed with:

make[3]: Entering directory
`/cygdrive/c/Users/Pete/JDK7u/jdk7u-dev/jdk/make/com/sun/jmx'
<snip>
../../../../build/windows-i586/bin/java -XX:-PrintVMOptions
-XX:+UnlockDiagnosticVMOptions -XX:-LogVMOutput -client -Xmx512m
-Xms512m -XX:PermSize=32m -XX:MaxPermSize=160m -cp
../../../../build/windows-i586/classes sun.rmi.rmic.Main -classpath
"../../../../build/windows-i586/classes"    \
                -d ../../../../build/windows-i586/classes              \
                -v1.2                           \
                -keepgenerated                  \
                javax.management.remote.rmi.RMIConnectionImpl
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/invoke/AdapterMethodHandle

.../jdk/build/windows-i586/classes/java/lang/invoke has a lot of
classes, but not that one.

Any ideas on how to get past this?

Pete





More information about the build-dev mailing list