hg: jdk7/hotspot-comp/hotspot: 7008165: Garbage in ClassFormatError message

Christian.Thalinger at Sun.COM Christian.Thalinger at Sun.COM
Tue Dec 21 09:42:15 PST 2010

Changeset: ef3c5db0b3ae
Author:    twisti
Date:      2010-12-21 04:37 -0800
URL:       http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/ef3c5db0b3ae

7008165: Garbage in ClassFormatError message
Summary: When bootstrap_method_ref in BootstrapMethods attribute points to a wrong CP entry (non-MethodHandle), JVM throws ClassFormatError with a message, where method index and class file name is garbage.
Reviewed-by: iveresov

! src/share/vm/classfile/classFileParser.cpp

More information about the hotspot-compiler-dev mailing list