RFR JDK-8131915: CompletionFailure during import listing crashes javac
Maurizio Cimadamore
maurizio.cimadamore at oracle.com
Thu Jul 30 11:41:34 UTC 2015
Whoops - hit send too soon.
The new tests need the new bug id in the header.
Maurizio
On 30/07/15 12:38, Maurizio Cimadamore wrote:
> Looks great.
>
> Maurizio
>
> On 24/07/15 15:03, Jan Lahoda wrote:
>> Hello,
>>
>> This is a fix for:
>> https://bugs.openjdk.java.net/browse/JDK-8131915
>>
>> which Liam reported recently. The problem is that if a
>> CompletionFailure happens while listing import content (e.g. due to a
>> missing supertype), it is not handled properly and causes a javac crash.
>>
>> The proposed fix is to catch the CompletionFailure and handle it
>> properly (log an error).
>>
>> A webrev with the fix is here:
>> http://cr.openjdk.java.net/~jlahoda/8131915/webrev.00/
>>
>> Any feedback is welcome,
>>
>> Thanks!
>> Jan
>
More information about the compiler-dev
mailing list