593 static oop _java_system_loader; |
594 static oop _java_system_loader; |
594 |
595 |
595 static bool _has_loadClassInternal; |
596 static bool _has_loadClassInternal; |
596 static bool _has_checkPackageAccess; |
597 static bool _has_checkPackageAccess; |
597 }; |
598 }; |
|
599 |
|
600 // Cf. vmSymbols vs. vmSymbolHandles |
|
601 class SystemDictionaryHandles : AllStatic { |
|
602 public: |
|
603 #define WK_KLASS_HANDLE_DECLARE(name, ignore_symbol, option) \ |
|
604 static KlassHandle name() { \ |
|
605 SystemDictionary::name(); \ |
|
606 klassOop* loc = &SystemDictionary::_well_known_klasses[SystemDictionary::WK_KLASS_ENUM_NAME(name)]; \ |
|
607 return KlassHandle(loc, true); \ |
|
608 } |
|
609 WK_KLASSES_DO(WK_KLASS_HANDLE_DECLARE); |
|
610 #undef WK_KLASS_HANDLE_DECLARE |
|
611 |
|
612 static KlassHandle box_klass(BasicType t); |
|
613 }; |