1.1 --- a/src/share/vm/oops/instanceKlass.hpp Thu Jun 28 11:37:28 2012 +0200 1.2 +++ b/src/share/vm/oops/instanceKlass.hpp Mon Jul 09 01:28:37 2012 -0700 1.3 @@ -226,7 +226,9 @@ 1.4 // Name of source file containing this klass, NULL if not specified. 1.5 Symbol* _source_file_name; 1.6 // the source debug extension for this klass, NULL if not specified. 1.7 - Symbol* _source_debug_extension; 1.8 + // Specified as UTF-8 string without terminating zero byte in the classfile, 1.9 + // it is stored in the instanceklass as a NULL-terminated UTF-8 string 1.10 + char* _source_debug_extension; 1.11 // Generic signature, or null if none. 1.12 Symbol* _generic_signature; 1.13 // Array name derived from this class which needs unreferencing 1.14 @@ -542,8 +544,8 @@ 1.15 void set_major_version(u2 major_version) { _major_version = major_version; } 1.16 1.17 // source debug extension 1.18 - Symbol* source_debug_extension() const { return _source_debug_extension; } 1.19 - void set_source_debug_extension(Symbol* n); 1.20 + char* source_debug_extension() const { return _source_debug_extension; } 1.21 + void set_source_debug_extension(char* array, int length); 1.22 1.23 // symbol unloading support (refcount already added) 1.24 Symbol* array_name() { return _array_name; }