hg: jdk9/dev/jdk: 6880737: (fs) FileLock constructors don't throw NPE if the channel argument is null
brian.burkhalter at oracle.com
brian.burkhalter at oracle.com
Fri Jan 30 20:57:07 UTC 2015
Changeset: 9017c96ff81f
Author: bpb
Date: 2015-01-30 12:56 -0800
URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/9017c96ff81f
6880737: (fs) FileLock constructors don't throw NPE if the channel argument is null
Summary: Throw IllegalArgumentException if the channel parameter is null
Reviewed-by: alanb
! src/java.base/share/classes/java/nio/channels/FileLock.java
+ test/java/nio/channels/FileLock/FileLockConstructor.java
More information about the jdk9-dev-changes
mailing list