hg: jdk/hs: 8154587: Resolution fails for default method named 'clone'

harold.seigel at oracle.com harold.seigel at oracle.com
Fri Dec 15 16:28:15 UTC 2017


Changeset: 474cec233fb2
Author:    hseigel
Date:      2017-12-15 11:23 -0500
URL:       http://hg.openjdk.java.net/jdk/hs/rev/474cec233fb2

8154587: Resolution fails for default method named 'clone'
Summary: Make sure default methods with the same names as those in j.l.Object get put in the default methods table where resolution can find them.
Reviewed-by: acorn, lfoltan

! src/hotspot/share/classfile/defaultMethods.cpp
! src/hotspot/share/classfile/systemDictionary.hpp
! src/hotspot/share/oops/cpCache.cpp
! src/hotspot/share/oops/klassVtable.cpp
! src/hotspot/share/oops/klassVtable.hpp
+ test/hotspot/jtreg/runtime/clone/AbstractClone.java
+ test/hotspot/jtreg/runtime/clone/AbstractNoClones.jasm
+ test/hotspot/jtreg/runtime/clone/DefaultClone.jasm
+ test/hotspot/jtreg/runtime/clone/DefaultFinalize.jasm
+ test/hotspot/jtreg/runtime/clone/DefaultHashCode.jasm
+ test/hotspot/jtreg/runtime/clone/DefaultNoCloneInC.jasm
+ test/hotspot/jtreg/runtime/clone/LocalClone.jasm
+ test/hotspot/jtreg/runtime/clone/NoClones.jasm
+ test/hotspot/jtreg/runtime/clone/invokevirtual/DefMethClone.jasm
+ test/hotspot/jtreg/runtime/clone/invokevirtual/HasLocalClone.jasm
+ test/hotspot/jtreg/runtime/clone/invokevirtual/I1.java
+ test/hotspot/jtreg/runtime/clone/invokevirtual/I1Abstr.java
+ test/hotspot/jtreg/runtime/clone/invokevirtual/NoLocalClone.jasm
+ test/hotspot/jtreg/runtime/clone/invokevirtual/NoLocalCloneAbstr.jasm
+ test/hotspot/jtreg/runtime/clone/invokevirtual/SuperClass.jasm



More information about the jdk-hs-changes mailing list