From: "Severin Gehwolf" <sgehwolf(a)redhat.com>
To: "Alec Leamas" <leamas.alec(a)gmail.com>
Cc: "java-devel" <java-devel(a)lists.fedoraproject.org>
Sent: Friday, February 27, 2015 11:48:52 AM
Subject: Re: [fedora-java] 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:
> >> On 26/02/15 17:51, Andrew Haley wrote:
> >>> On 02/26/2015 04:34 PM, Alec Leamas wrote:
> >>>> On 26/02/15 15:08, Andrew Haley wrote:
> >>>>> On 02/26/2015 01:49 PM, Alec Leamas wrote:
> >>>>
> >>>>>> OK, here [1] is a srpm which builds with patches which
switches to
> >>>>>> ecj.
> >>>>>> Without them (first two), there is the crash (for me, on
f21) [2]
> >>>>>>
> >>>>>> [1]
> >>>>>>
https://leamas.fedorapeople.org/javabug/tonto-1.44-2.fc21.src.rpm
> >>>>>> [2]
http://ur1.ca/jt1em
> >>>>>
> >>>>> Works for me with everything I've tried
> >>>>
> >>>> You have disabled the patches, have you?
> >>>
> >>> I disabled one patch. Only one patch seemed to have anything to do
> >>> with
> >>> ecj. If this is wrong, please supply a test case that fails.
> >>
> >> sorry, my bad. This spec (together with srpm above) should do it, it
> >> does for me:
http://ur1.ca/jt2tc
> >
> > 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 :).
Alexander Kurtakov
Red Hat Eclipse team
Cheers,
Severin
>
> Cheers!
>
> --alec
>
>
--
java-devel mailing list
java-devel(a)lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/java-devel