Mercurial > hg > truffle
comparison src/share/vm/classfile/systemDictionary.cpp @ 2001:f2da85a9b08e
7001363: java/dyn/InvokeDynamic should not be a well-known class in the JVM
Summary: Because of the removal of language support, the JDK 7 API for JSR 292 no longer includes a public class named java/dyn/InvokeDynamic.
Reviewed-by: jrose, kvn
author | twisti |
---|---|
date | Tue, 30 Nov 2010 09:53:04 -0800 |
parents | f95d63e2154a |
children | 06f017f7daa7 3582bf76420e |
comparison
equal
deleted
inserted
replaced
1972:f95d63e2154a | 2001:f2da85a9b08e |
---|---|
2008 if (_well_known_klasses[meth_group_start] == NULL) { | 2008 if (_well_known_klasses[meth_group_start] == NULL) { |
2009 // Skip the rest of the method handle classes, if MethodHandle is not loaded. | 2009 // Skip the rest of the method handle classes, if MethodHandle is not loaded. |
2010 scan = WKID(meth_group_end+1); | 2010 scan = WKID(meth_group_end+1); |
2011 } | 2011 } |
2012 WKID indy_group_start = WK_KLASS_ENUM_NAME(Linkage_klass); | 2012 WKID indy_group_start = WK_KLASS_ENUM_NAME(Linkage_klass); |
2013 WKID indy_group_end = WK_KLASS_ENUM_NAME(InvokeDynamic_klass); | 2013 WKID indy_group_end = WK_KLASS_ENUM_NAME(CallSite_klass); |
2014 initialize_wk_klasses_until(indy_group_start, scan, CHECK); | 2014 initialize_wk_klasses_until(indy_group_start, scan, CHECK); |
2015 if (EnableInvokeDynamic) { | 2015 if (EnableInvokeDynamic) { |
2016 initialize_wk_klasses_through(indy_group_end, scan, CHECK); | 2016 initialize_wk_klasses_through(indy_group_end, scan, CHECK); |
2017 } | 2017 } |
2018 if (_well_known_klasses[indy_group_start] == NULL) { | 2018 if (_well_known_klasses[indy_group_start] == NULL) { |