< prev index next >

hotspot/src/share/vm/classfile/javaClasses.hpp

Print this page




1276   static int static_err_offset;
1277   static int static_security_offset;
1278 
1279  public:
1280   static int  in_offset_in_bytes();
1281   static int out_offset_in_bytes();
1282   static int err_offset_in_bytes();
1283 
1284   static bool has_security_manager();
1285 
1286   // Debugging
1287   friend class JavaClasses;
1288 };
1289 
1290 
1291 // Interface to java.lang.StackTraceElement objects
1292 
1293 class java_lang_StackTraceElement: AllStatic {
1294  private:
1295   enum {
1296     hc_classOrLoaderModuleClassName_offset = 0,
1297     hc_classLoaderName_offset      = 1,
1298     hc_moduleName_offset           = 2,
1299     hc_moduleVersion_offset        = 3,
1300     hc_declaringClass_offset       = 4,
1301     hc_methodName_offset           = 5,
1302     hc_fileName_offset             = 6,
1303     hc_lineNumber_offset           = 7
1304   };
1305 
1306   static int classOrLoaderModuleClassName_offset;
1307   static int classLoaderName_offset;
1308   static int moduleName_offset;
1309   static int moduleVersion_offset;
1310   static int declaringClass_offset;
1311   static int methodName_offset;
1312   static int fileName_offset;
1313   static int lineNumber_offset;
1314 
1315   // Setters
1316   static void set_classLoaderName(oop element, oop value);
1317   static void set_moduleName(oop element, oop value);
1318   static void set_moduleVersion(oop element, oop value);
1319   static void set_declaringClass(oop element, oop value);
1320   static void set_methodName(oop element, oop value);
1321   static void set_fileName(oop element, oop value);
1322   static void set_lineNumber(oop element, int value);
1323   static void set_declaringClassObject(oop element, oop value);
1324 
1325  public:
1326   // Create an instance of StackTraceElement




1276   static int static_err_offset;
1277   static int static_security_offset;
1278 
1279  public:
1280   static int  in_offset_in_bytes();
1281   static int out_offset_in_bytes();
1282   static int err_offset_in_bytes();
1283 
1284   static bool has_security_manager();
1285 
1286   // Debugging
1287   friend class JavaClasses;
1288 };
1289 
1290 
1291 // Interface to java.lang.StackTraceElement objects
1292 
1293 class java_lang_StackTraceElement: AllStatic {
1294  private:
1295   enum {
1296     hc_declaringClassObj_offset    = 0,
1297     hc_classLoaderName_offset      = 1,
1298     hc_moduleName_offset           = 2,
1299     hc_moduleVersion_offset        = 3,
1300     hc_declaringClass_offset       = 4,
1301     hc_methodName_offset           = 5,
1302     hc_fileName_offset             = 6,
1303     hc_lineNumber_offset           = 7
1304   };
1305 
1306   static int declaringClassObj_offset;
1307   static int classLoaderName_offset;
1308   static int moduleName_offset;
1309   static int moduleVersion_offset;
1310   static int declaringClass_offset;
1311   static int methodName_offset;
1312   static int fileName_offset;
1313   static int lineNumber_offset;
1314 
1315   // Setters
1316   static void set_classLoaderName(oop element, oop value);
1317   static void set_moduleName(oop element, oop value);
1318   static void set_moduleVersion(oop element, oop value);
1319   static void set_declaringClass(oop element, oop value);
1320   static void set_methodName(oop element, oop value);
1321   static void set_fileName(oop element, oop value);
1322   static void set_lineNumber(oop element, int value);
1323   static void set_declaringClassObject(oop element, oop value);
1324 
1325  public:
1326   // Create an instance of StackTraceElement


< prev index next >