src/share/vm/prims/wbtestmethods/parserTests.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/prims/wbtestmethods/parserTests.cpp	Tue Dec  9 15:12:59 2014
--- new/src/share/vm/prims/wbtestmethods/parserTests.cpp	Tue Dec  9 15:12:59 2014

*** 48,58 **** --- 48,58 ---- * this argument represents. (JLONG, BOOLEAN etc). * This method Returns a char* representation of that enum value. */ static const char* lookup_diagnosticArgumentEnum(const char* field_name, oop object) { Thread* THREAD = Thread::current(); ! const char* enum_sig = "Lsun/hotspot/parser/DiagnosticCommand$DiagnosticArgumentType;"; ! const char* enum_sig = "Ljdk/testlib/parser/DiagnosticCommand$DiagnosticArgumentType;"; TempNewSymbol enumSigSymbol = SymbolTable::lookup(enum_sig, (int) strlen(enum_sig), THREAD); int offset = WhiteBox::offset_for_field(field_name, object, enumSigSymbol); oop enumOop = object->obj_field(offset); const char* ret = WhiteBox::lookup_jstring("name", enumOop);

src/share/vm/prims/wbtestmethods/parserTests.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File