Testing Groovy against JDK 8 EA builds

David Holmes david.holmes at oracle.com
Wed Nov 20 13:59:01 PST 2013


On 20/11/2013 6:51 PM, Jochen Theodorou wrote:
>> The VerifyError is VM related and there are still ongoing changes as the
>> spec settles and the implementation catches up.
>
> can you tell me which invoke instruction are how supposed to be able to
> call default methods? I am sure that if Foo implements Bar and bar() is
> a default method on Bar, that an invokevirtual Foo#bar() is supposed to
> be ok. But what about invokespecial on Bar#bar (like a super call)?

invokespecial's can be used but I'm not sure of the exact context. The 
proposed specification for this is here:

http://cr.openjdk.java.net/~dlsmith/jsr335-0.7.0/J.html

David

>> The List issue is something to discuss on lambda-dev. We know there are
>> some source incompatabilities with default methods in Java 8. This is an
>> accepted price to pay for moving the Java libraries forward.
>
> it is not a source incompatibility for us, but since it is Groovy code,
> not Java code that might be another story
>
> bye Jochen
>


More information about the hotspot-dev mailing list