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

Aleksey Shipilev aleksey.shipilev at oracle.com
Fri Feb 20 14:40:40 UTC 2015


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20150220/54657db3/signature.asc>


More information about the compiler-dev mailing list