--- old/src/java.base/share/classes/java/nio/channels/FileChannel.java 2016-11-16 10:28:17.792497896 -0800 +++ new/src/java.base/share/classes/java/nio/channels/FileChannel.java 2016-11-16 10:28:17.733497895 -0800 @@ -287,6 +287,7 @@ return provider.newFileChannel(path, options, attrs); } + @SuppressWarnings({"unchecked", "rawtypes"}) // generic array construction private static final FileAttribute[] NO_ATTRIBUTES = new FileAttribute[0];