RFR: 8032010: Attempt to resolve abstract method in concrete class fails with AbstractMethodError (original) (raw)

Calvin Cheung calvin.cheung at oracle.com
Fri Jan 31 14:45:15 PST 2014


This change, by removing a check in LinkResolver::resolve_method(), is to conform with the recent change in JVMS-8 [1]. The following check during method resolution is removed: JVMS-5.4.3.3. Method Resolution "If method lookup succeeds and the method is abstract, but C is not abstract, method resolution throws an AbstractMethodError."

bug: https://bugs.openjdk.java.net/browse/JDK-8032010

webrev: http://cr.openjdk.java.net/~ccheung/8032010/webrev/

tests: (on linux-x64) vm.quick jck vm and lang jtreg on java/util/stream and the new testcase defmeth jprt

thanks, Calvin

[1] http://cr.openjdk.java.net/~dlsmith/jsr335-0.9.1.html#J



More information about the hotspot-dev mailing list