--- old/src/java.base/unix/classes/sun/nio/ch/DefaultAsynchronousChannelProvider.java 2016-04-27 14:34:58.437163301 -0700 +++ new/src/java.base/unix/classes/sun/nio/ch/DefaultAsynchronousChannelProvider.java 2016-04-27 14:34:58.277163295 -0700 @@ -48,7 +48,9 @@ throw new AssertionError(x); } try { - return c.newInstance(); + @SuppressWarnings("deprecation") + AsynchronousChannelProvider result = c.newInstance(); + return result; } catch (IllegalAccessException | InstantiationException x) { throw new AssertionError(x); }