[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-compiler-dev
Subject: Re: RFR: JDK-8241519: javac crashes with wrong module-info.class in module path
From: Jonathan Gibbons <jonathan.gibbons () oracle ! com>
Date: 2020-05-28 17:15:58
Message-ID: eb7016d3-07ea-2710-ebdf-f9151405d16b () oracle ! com
[Download RAW message or body]
Looks good to me.
-- Jon
On 5/15/20 7:53 AM, Jan Lahoda wrote:
> Hi,
>
> When javac loads module-info.class, that is broken, and hence a
> CompletionFailure (or BadClassFile) is thrown, the corresponding
> ModuleSymbol is not marked as erroneous, and is not fully completed,
> which may lead to follow on exceptions.
>
> The proposal is to mark the ModuleSymbol as erroneous, and do basic
> initialization of it, when CompletionFailure is thrown while loading
> the module-info.class.
>
> Proposed webrev:
> http://cr.openjdk.java.net/~jlahoda/8241519/webrev.00/
>
> JBS:
> https://bugs.openjdk.java.net/browse/JDK-8241519
>
> How does this look?
>
> Thanks,
> Jan
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic