comparison src/share/vm/runtime/signature.hpp @ 1508:2ffde6cfe049

6939196: method handle signatures off the boot class path get linkage errors Summary: Adjust MethodType lookup logic to search off the BCP, but not to cache those results Reviewed-by: twisti
author jrose
date Sat, 01 May 2010 21:57:35 -0700
parents 354d3184f6b2
children c18cbe5936b8
comparison
equal deleted inserted replaced
1507:cd5dbf694d45 1508:2ffde6cfe049
400 400
401 bool is_object() const; // True if this argument is an object 401 bool is_object() const; // True if this argument is an object
402 bool is_array() const; // True if this argument is an array 402 bool is_array() const; // True if this argument is an array
403 BasicType type() const { return _type; } 403 BasicType type() const { return _type; }
404 symbolOop as_symbol(TRAPS); 404 symbolOop as_symbol(TRAPS);
405 enum FailureMode { ReturnNull, CNFException, NCDFError };
406 klassOop as_klass(Handle class_loader, Handle protection_domain, FailureMode failure_mode, TRAPS);
407 oop as_java_mirror(Handle class_loader, Handle protection_domain, FailureMode failure_mode, TRAPS);
405 408
406 // return same as_symbol except allocation of new symbols is avoided. 409 // return same as_symbol except allocation of new symbols is avoided.
407 symbolOop as_symbol_or_null(); 410 symbolOop as_symbol_or_null();
408 }; 411 };
409 412