RFR 8203436: javac should fail early when emitting illegal signature attributes
Vicente Romero
vicente.romero at oracle.com
Fri May 18 18:28:18 UTC 2018
looks good!
Vicente
On 05/18/2018 02:12 PM, Maurizio Cimadamore wrote:
> Hi,
> this patch makes javac a bit stricter when it comes to generating
> bytecode that has illegal signature attributes (which can happen in
> case of non-denotable types). Instead of allowing compilation and then
> fail at verify time, this patch issues an error message.
>
> I've refactored another generation-related diagnostic to share the
> same 'header' - an example of the diagnostics involved is included in
> the webrev.
>
> http://cr.openjdk.java.net/~mcimadamore/8203436/
>
> Cheers
> Maurizio
>
More information about the compiler-dev
mailing list