[PATCH] Pretty printing for loops

Jonathan Gibbons jonathan.gibbons at oracle.com
Mon Jan 5 18:29:29 UTC 2015


https://bugs.openjdk.java.net/browse/JDK-8068460

On 12/05/2014 12:45 AM, Tobias Werth wrote:
> Hi,
>
> (if this is not the correct mailing list to submit those patches, please
> tell me which one to use instead)
>
> I stumbled upon a bug in the javac pretty printer. It misses a null
> check while pretty printing for loops causing to produce invalid code.
>
> The attached patch contains a fix including a test that fails before and
> works after applying the patch.
>
> Cheers,
> Tobi
>



More information about the compiler-dev mailing list