Testing Groovy against JDK 8 EA builds

Dalibor Topic dalibor.topic at oracle.com
Tue Nov 19 09:57:38 PST 2013


Yeah, lambda-dev sounds like the right place to continue the conversation, given that this seems to be more of a design issue (one way or another) then, say, a simple regression.

cheers,
dalibor topic

On 11/19/13 5:40 PM, Ben Evans wrote:
> I would recommend also talking to Brian & the Lambdas EG.
> 
> Ben
> 
> 
> On Tue, Nov 19, 2013 at 4:35 PM, Balchandra Vaidya <balchandra.vaidya at oracle.com <mailto:balchandra.vaidya at oracle.com>> wrote:
> 
> 
>     Hi Jochen,
> 
>     There could be multiple issues here and will require further
>     information. I am copying hotspot-dev mailing list for further
>     guidance.
> 
> 
>     Thanks
>     Balchandra
> 
> 
> 
> 
>     On 11/19/13 03:29 PM, Jochen Theodorou wrote:
> 
> 
>         Hi all,
> 
>         Dalibor and Rory suggested I comment on how well Groovy works with jdk8-ea. I thought I write directly to the mailing list here to share the problems.
> 
>         So I used 1.8.0-ea-b115 and run our test suite to give a short overview. Of course we have to look into those issues in detail at some point. Anyway, we get 31 (out of 6107) failing tests.
> 
>         All failures seem to be related to default methods.
> 
>         We have some helper methods we add to our classes and for example a class extending LinkedList gets a helper method stream() and tries to call it with invokeSpecial. The result is a VerifyError. The majority of problems are like that. Of course that means tests involving these classes have not been executed.
> 
>         We get also several null pointer exceptions, which seem to be related to List#sort. We ourselves provide a sort(Comparable) method on Iterable, but that method returns a List. The default method List#sort(Comparable) is void and hides the Iterable one, thus the method will return null and subsequent calls on the result fail with NPEs.
> 
>         Those name clashes are a bit problem here I must say. Sure, we can rename our method, but numerous examples out there use it. And worse, our method is not mutating, the jdk one is. I am not yet sure what we will do about that in general.
> 
>         bye Jochen
> 
> 
> 



-- 
Oracle <http://www.oracle.com>
Dalibor Topic | Principal Product Manager
Phone: +494089091214 <tel:+494089091214> | Mobile: +491737185961 <tel:+491737185961>
Oracle Java Platform Group

ORACLE Deutschland B.V. & Co. KG | Kühnehöfe 5 | 22761 Hamburg

ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603
Geschäftsführer: Jürgen Kunz

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Astrid Kepper, Val Maher

Green Oracle <http://www.oracle.com/commitment> Oracle is committed to developing practices and products that help protect the environment


More information about the quality-discuss mailing list