RFR (M): JDK-8004967 - Default method cause java.lang.VerifyError: Illegal use of nonvirtual function call (original) (raw)
Karen Kinnear karen.kinnear at oracle.com
Thu Jan 17 17:44:14 UTC 2013
- Previous message: RFR (M): JDK-8004967 - Default method cause java.lang.VerifyError: Illegal use of nonvirtual function call
- Next message: RFR (M): JDK-8004967 - Default method cause java.lang.VerifyError: Illegal use of nonvirtual function call
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Change looks good give I don't know any way for the java library to get the internal method type information.
Can you please fix the spelling of "implementation" in the comment?
thanks, Karen
p.s. And I think you are ensuring !abstract by doing an exact match of flags. On Jan 16, 2013, at 1:35 PM, Bharadwaj Yadavalli wrote:
Please review the change at http://cr.openjdk.java.net/~bharadwaj/8004967/webrev/
Default interface methods are new in Java 8. VM creates overpass methods in the vtable slots of classes to invoke a default method using invokespecial. Consequently, invocation of default interface methods (i.e., overpass methods in the VM) via invokespecial is legal and should not be flagged as illegal. In short, this change allows invocation of default methods of Java 8 using invokespecial. I ran JCK (vm, lang, api) tests, runThese and vm.quicklist with no new failures. Thanks, Bharadwaj
- Previous message: RFR (M): JDK-8004967 - Default method cause java.lang.VerifyError: Illegal use of nonvirtual function call
- Next message: RFR (M): JDK-8004967 - Default method cause java.lang.VerifyError: Illegal use of nonvirtual function call
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]