RFR (S) 8073550 : java* tools: replace obj.getClass hacks with Assert.checkNonNull or Objects.requireNonNull

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Sun Feb 22 21:22:14 UTC 2015


Looks great - thanks, I will push it for you.

Maurizio

On 20/02/15 14:40, Aleksey Shipilev wrote:
> Hi,
>
> Please review and sponsor the cleanup in langtools code:
>    https://bugs.openjdk.java.net/browse/JDK-8073550
>    http://cr.openjdk.java.net/~shade/8073550/webrev.01/
>
> It replaces the getClass "hacks" with either proper Asserts, or
> Objects.requireNonNull if Asserts are not available over the module
> boundaries.
>
> Thanks,
> -Aleksey.
>



More information about the compiler-dev mailing list