mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8036805: Correct linker method lookup
Correct handling of array of primitive type qualifiers during field and method resolution. Reviewed-by: acorn, hseigel, ahgross
This commit is contained in:
parent
f8d533e6b6
commit
edc10143cb
5 changed files with 54 additions and 20 deletions
|
@ -130,6 +130,15 @@ bool Klass::compute_is_subtype_of(Klass* k) {
|
|||
return is_subclass_of(k);
|
||||
}
|
||||
|
||||
Klass* Klass::find_field(Symbol* name, Symbol* sig, fieldDescriptor* fd) const {
|
||||
#ifdef ASSERT
|
||||
tty->print_cr("Error: find_field called on a klass oop."
|
||||
" Likely error: reflection method does not correctly"
|
||||
" wrap return value in a mirror object.");
|
||||
#endif
|
||||
ShouldNotReachHere();
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Method* Klass::uncached_lookup_method(Symbol* name, Symbol* signature, MethodLookupMode mode) const {
|
||||
#ifdef ASSERT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue