mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8260471: Change SystemDictionary::X_klass calls to vmClasses::X_klass
Reviewed-by: lfoltan, hseigel, dholmes, stuefe
This commit is contained in:
parent
9af333923b
commit
ffbcf1b0a7
191 changed files with 739 additions and 712 deletions
|
@ -39,6 +39,7 @@
|
|||
#include "classfile/systemDictionary.hpp"
|
||||
#include "classfile/verificationType.hpp"
|
||||
#include "classfile/verifier.hpp"
|
||||
#include "classfile/vmClasses.hpp"
|
||||
#include "classfile/vmSymbols.hpp"
|
||||
#include "logging/log.hpp"
|
||||
#include "logging/logStream.hpp"
|
||||
|
@ -2684,7 +2685,7 @@ Method* ClassFileParser::parse_method(const ClassFileStream* const cfs,
|
|||
cfs->skip_u2_fast(method_parameters_length);
|
||||
cfs->skip_u2_fast(method_parameters_length);
|
||||
// ignore this attribute if it cannot be reflected
|
||||
if (!SystemDictionary::Parameter_klass_loaded())
|
||||
if (!vmClasses::Parameter_klass_loaded())
|
||||
method_parameters_length = -1;
|
||||
} else if (method_attribute_name == vmSymbols::tag_synthetic()) {
|
||||
if (method_attribute_length != 0) {
|
||||
|
@ -4306,8 +4307,8 @@ void ClassFileParser::set_precomputed_flags(InstanceKlass* ik) {
|
|||
#endif
|
||||
|
||||
// Check if this klass supports the java.lang.Cloneable interface
|
||||
if (SystemDictionary::Cloneable_klass_loaded()) {
|
||||
if (ik->is_subtype_of(SystemDictionary::Cloneable_klass())) {
|
||||
if (vmClasses::Cloneable_klass_loaded()) {
|
||||
if (ik->is_subtype_of(vmClasses::Cloneable_klass())) {
|
||||
ik->set_is_cloneable();
|
||||
}
|
||||
}
|
||||
|
@ -4952,7 +4953,7 @@ static const char* skip_over_field_name(const char* const name,
|
|||
if (not_first_ch) {
|
||||
// public static boolean isJavaIdentifierPart(char ch);
|
||||
JavaCalls::call_static(&result,
|
||||
SystemDictionary::Character_klass(),
|
||||
vmClasses::Character_klass(),
|
||||
vmSymbols::isJavaIdentifierPart_name(),
|
||||
vmSymbols::int_bool_signature(),
|
||||
&args,
|
||||
|
@ -4960,7 +4961,7 @@ static const char* skip_over_field_name(const char* const name,
|
|||
} else {
|
||||
// public static boolean isJavaIdentifierStart(char ch);
|
||||
JavaCalls::call_static(&result,
|
||||
SystemDictionary::Character_klass(),
|
||||
vmClasses::Character_klass(),
|
||||
vmSymbols::isJavaIdentifierStart_name(),
|
||||
vmSymbols::int_bool_signature(),
|
||||
&args,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue