On 09/11/2013 08:23 PM, Sergey Kuksenko wrote: > http://cr.openjdk.java.net/~skuksenko/jsr335/8024635/webrev.00/
As much as I hate to see the hand code tweaking instead of relying on compiler to do it's job, I understand this is about interpreter. Seems good then. * Formatting: "if(...)" should be "if (...") * Formatting: "//NPE" should be "// null check" * Formatting: "desc = " should be "desc = " * Formatting: this one should not use braces (for consistency with other usages)? 364 if(nptype == null) { //NPE 365 throw new NullPointerException(); 366 } * Explicit null-checks: implicits via .getClass and .equals always bothered me in j.l.i.*; the idea was seemingly to piggyback on the compiler intrinsics. Any idea what's the cost of using Objects.requireNonNull there? -Aleksey.