Re: static vs. default interface methods and inheritance VM/javac issues

2013-09-15 Thread Alan Bateman
On 13/09/2013 10:37, Peter Levart wrote: Karen, I filed a bug, but don't have the bug ID yet. Will let you know when I get it. I found it, and moved it into the JDK project as: 8024836: static vs. default interface methods and inheritance - VM crash -Alan.

Re: static vs. default interface methods and inheritance VM/javac issues

2013-09-13 Thread Peter Levart
On 09/13/2013 11:05 AM, Joel Borggrén-Franck wrote: Hi, Thanks Karen and Peter. FWIW my interpretation is that javac is doing the right thing. The bytecode generated is an "invokeinterface DefaultStaticMethodTest$C.m()". This looks consistent with the other bytecodes generated for calls to me

Re: static vs. default interface methods and inheritance VM/javac issues

2013-09-13 Thread Joel Borggrén-Franck
Hi, Thanks Karen and Peter. FWIW my interpretation is that javac is doing the right thing. The bytecode generated is an "invokeinterface DefaultStaticMethodTest$C.m()". This looks consistent with the other bytecodes generated for calls to methods of anonymous classes implementing an interface.

Re: static vs. default interface methods and inheritance VM/javac issues

2013-09-12 Thread Karen Kinnear
Thank you, we really appreciate all testing. I have a fix in a prototype in the vm for this. Let me know if you want an early patch. Or you can just file a bug and that way you'll know when the fix is officially in the tree. thanks, Karen On Sep 12, 2013, at 10:59 AM, Peter Levart wrote: > H