On 27/02/15 10:50, Aleksandar Kurtakov wrote:
----- Original Message -----
From: "Severin Gehwolf" <sgehwolf@xxxxxxxxxx>
To: "Alec Leamas" <leamas.alec@xxxxxxxxx>
Cc: "java-devel" <java-devel@xxxxxxxxxxxxxxxxxxxxxxx>
Sent: Friday, February 27, 2015 11:48:52 AM
Subject: Re: Still newbie: compiler crash, walk-arounds?
On Fri, 2015-02-27 at 10:32 +0100, Alec Leamas wrote:
On 27/02/15 09:25, Severin Gehwolf wrote:
On Thu, 2015-02-26 at 18:06 +0100, Alec Leamas wrote:
The sources seem to be using "enum" as an identifier which became a
keyword in JDK 1.5 and up. FWIW, it was all there in the compiler error
messages ;-) You need to apply the attached patch which gets you past
this compile problem. Then it fails with:
I have already patched those things, I sent you this testcase because
there is a compiler crash, not because there are errors. IMHO, a
compiler should never crash for whatever input.
This is:
https://bugs.openjdk.java.net/browse/JDK-8069181
It'll be fixed once 8u60 becomes GA.
And naturally fixed in 9 by not supporting 1.5 or older :).
Thanks, I suspected that this was already reported and in the pipeline,
but couldn't find the bug id. Sorry for the noise.
Cheers!
--alec
--
java-devel mailing list
java-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/java-devel