[10] RFR 8195970 Crash passing null to a VarHandle

Paul Sandoz paul.sandoz at oracle.com
Tue Jan 23 19:12:58 UTC 2018


Please review:

  http://cr.openjdk.java.net/~psandoz/jdk10/JDK-8195970-varhandle-buffer-view-null/webrev/ <http://cr.openjdk.java.net/~psandoz/jdk10/JDK-8195970-varhandle-buffer-view-null/webrev/>

The ByteBuffer view VarHandle implements were (embarrassingly) missing a null check on the ByteBuffer argument. Checks were added and so were tests.

I am proposing this be fixed in 10 via the fix request process [1].


[1] http://openjdk.java.net/projects/jdk/10/fix-request-process <http://openjdk.java.net/projects/jdk/10/fix-request-process>

More information about the core-libs-dev mailing list