mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-24 04:54:40 +02:00
6939196: method handle signatures off the boot class path get linkage errors
Adjust MethodType lookup logic to search off the BCP, but not to cache those results Reviewed-by: twisti
This commit is contained in:
parent
4eb75c2df3
commit
973b1ef143
7 changed files with 150 additions and 47 deletions
|
@ -402,6 +402,9 @@ class SignatureStream : public StackObj {
|
|||
bool is_array() const; // True if this argument is an array
|
||||
BasicType type() const { return _type; }
|
||||
symbolOop as_symbol(TRAPS);
|
||||
enum FailureMode { ReturnNull, CNFException, NCDFError };
|
||||
klassOop as_klass(Handle class_loader, Handle protection_domain, FailureMode failure_mode, TRAPS);
|
||||
oop as_java_mirror(Handle class_loader, Handle protection_domain, FailureMode failure_mode, TRAPS);
|
||||
|
||||
// return same as_symbol except allocation of new symbols is avoided.
|
||||
symbolOop as_symbol_or_null();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue