Mercurial > hg > truffle
diff src/share/vm/classfile/systemDictionary.cpp @ 1039:987e948ebbc8
6815692: method handle code needs some cleanup (post-6655638)
Summary: correctly raise exceptions, support safe bitwise "raw" conversions, fix bugs revealed by VerifyMethodHandles, remove dead code, improve debugging support
Reviewed-by: never, twisti
author | jrose |
---|---|
date | Sat, 17 Oct 2009 19:51:05 -0700 |
parents | 54b3b351d6f9 |
children | 389049f3f393 a75edfd400ea 0c3f888b7636 |
line wrap: on
line diff
--- a/src/share/vm/classfile/systemDictionary.cpp Fri Oct 16 16:14:12 2009 -0700 +++ b/src/share/vm/classfile/systemDictionary.cpp Sat Oct 17 19:51:05 2009 -0700 @@ -1963,7 +1963,7 @@ WKID meth_group_end = WK_KLASS_ENUM_NAME(WrongMethodTypeException_klass); initialize_wk_klasses_until(meth_group_start, scan, CHECK); if (EnableMethodHandles) { - initialize_wk_klasses_through(meth_group_start, scan, CHECK); + initialize_wk_klasses_through(meth_group_end, scan, CHECK); } if (_well_known_klasses[meth_group_start] == NULL) { // Skip the rest of the method handle classes, if MethodHandle is not loaded.