Mercurial > hg > graal-jvmci-8
comparison src/share/vm/oops/arrayKlass.hpp @ 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 |
---|---|
84 // are always in higher memory. The callers of these set that up. | 84 // are always in higher memory. The callers of these set that up. |
85 virtual oop multi_allocate(int rank, jint* sizes, TRAPS); | 85 virtual oop multi_allocate(int rank, jint* sizes, TRAPS); |
86 objArrayOop allocate_arrayArray(int n, int length, TRAPS); | 86 objArrayOop allocate_arrayArray(int n, int length, TRAPS); |
87 | 87 |
88 // Lookup operations | 88 // Lookup operations |
89 Method* uncached_lookup_method(Symbol* name, Symbol* signature) const; | 89 Method* uncached_lookup_method(Symbol* name, Symbol* signature, MethodLookupMode mode) const; |
90 | 90 |
91 // Casting from Klass* | 91 // Casting from Klass* |
92 static ArrayKlass* cast(Klass* k) { | 92 static ArrayKlass* cast(Klass* k) { |
93 assert(k->oop_is_array(), "cast to ArrayKlass"); | 93 assert(k->oop_is_array(), "cast to ArrayKlass"); |
94 return (ArrayKlass*) k; | 94 return (ArrayKlass*) k; |