Mercurial > hg > graal-compiler
comparison src/share/vm/oops/arrayKlass.cpp @ 17889:386dd1c71858
8033150: invokestatic: IncompatibleClassChangeError trying to invoke static method from a parent in presence of conflicting defaults.
Summary: A static method should be preferred during method resolution over an overpass, search the current class as well as its superclasses.
Reviewed-by: acorn, coleenp, kamg
author | lfoltan |
---|---|
date | Mon, 14 Apr 2014 14:27:45 -0400 |
parents | 85318d1fe8fe |
children | 52b4284cb496 54bc75c144b0 6e0cb14ce59b |
comparison
equal
deleted
inserted
replaced
17887:cd3c534f8f4a | 17889:386dd1c71858 |
---|---|
62 oop ArrayKlass::multi_allocate(int rank, jint* sizes, TRAPS) { | 62 oop ArrayKlass::multi_allocate(int rank, jint* sizes, TRAPS) { |
63 ShouldNotReachHere(); | 63 ShouldNotReachHere(); |
64 return NULL; | 64 return NULL; |
65 } | 65 } |
66 | 66 |
67 Method* ArrayKlass::uncached_lookup_method(Symbol* name, Symbol* signature) const { | 67 Method* ArrayKlass::uncached_lookup_method(Symbol* name, Symbol* signature, MethodLookupMode mode) const { |
68 // There are no methods in an array klass but the super class (Object) has some | 68 // There are no methods in an array klass but the super class (Object) has some |
69 assert(super(), "super klass must be present"); | 69 assert(super(), "super klass must be present"); |
70 return super()->uncached_lookup_method(name, signature); | 70 return super()->uncached_lookup_method(name, signature, mode); |
71 } | 71 } |
72 | 72 |
73 ArrayKlass::ArrayKlass(Symbol* name) { | 73 ArrayKlass::ArrayKlass(Symbol* name) { |
74 set_name(name); | 74 set_name(name); |
75 | 75 |