< prev index next >

src/hotspot/share/classfile/javaClasses.hpp

Print this page




1293   static bool is_trusted_loader(oop loader);
1294 
1295   // Return true if this is one of the class loaders associated with
1296   // the generated bytecodes for reflection.
1297   static bool is_reflection_class_loader(oop loader);
1298 
1299   // Fix for 4474172
1300   static oop  non_reflection_class_loader(oop loader);
1301 
1302   // Testers
1303   static bool is_subclass(Klass* klass) {
1304     return klass->is_subclass_of(SystemDictionary::ClassLoader_klass());
1305   }
1306   static bool is_instance(oop obj);
1307 
1308   static oop unnamedModule(oop loader);
1309 
1310   // Debugging
1311   friend class JavaClasses;
1312   friend class ClassFileParser; // access to number_of_fake_fields
1313 
1314   // Describe ClassLoader for exceptions, tracing ...
1315   // Prints "<name>" (instance of <classname>, child of "<name>" <classname>).
1316   // If a classloader has no name, it prints <unnamed> instead. The output
1317   // for well known loaders (system/platform) is abbreviated.
1318   static const char* describe_external(const oop loader);
1319 };
1320 
1321 
1322 // Interface to java.lang.System objects
1323 
1324 class java_lang_System : AllStatic {
1325  private:
1326   static int  static_in_offset;
1327   static int static_out_offset;
1328   static int static_err_offset;
1329   static int static_security_offset;
1330 
1331  public:
1332   static int  in_offset_in_bytes();
1333   static int out_offset_in_bytes();
1334   static int err_offset_in_bytes();
1335 
1336   static bool has_security_manager();
1337 
1338   static void compute_offsets();




1293   static bool is_trusted_loader(oop loader);
1294 
1295   // Return true if this is one of the class loaders associated with
1296   // the generated bytecodes for reflection.
1297   static bool is_reflection_class_loader(oop loader);
1298 
1299   // Fix for 4474172
1300   static oop  non_reflection_class_loader(oop loader);
1301 
1302   // Testers
1303   static bool is_subclass(Klass* klass) {
1304     return klass->is_subclass_of(SystemDictionary::ClassLoader_klass());
1305   }
1306   static bool is_instance(oop obj);
1307 
1308   static oop unnamedModule(oop loader);
1309 
1310   // Debugging
1311   friend class JavaClasses;
1312   friend class ClassFileParser; // access to number_of_fake_fields






1313 };
1314 
1315 
1316 // Interface to java.lang.System objects
1317 
1318 class java_lang_System : AllStatic {
1319  private:
1320   static int  static_in_offset;
1321   static int static_out_offset;
1322   static int static_err_offset;
1323   static int static_security_offset;
1324 
1325  public:
1326   static int  in_offset_in_bytes();
1327   static int out_offset_in_bytes();
1328   static int err_offset_in_bytes();
1329 
1330   static bool has_security_manager();
1331 
1332   static void compute_offsets();


< prev index next >