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.