--- old/src/java.base/unix/classes/sun/nio/ch/UnixAsynchronousServerSocketChannelImpl.java 2015-04-22 17:44:20.303423414 -0700 +++ new/src/java.base/unix/classes/sun/nio/ch/UnixAsynchronousServerSocketChannelImpl.java 2015-04-22 17:44:20.135423410 -0700 @@ -216,7 +216,7 @@ // permission check must always be in initiator's context try { if (acc != null) { - AccessController.doPrivileged(new PrivilegedAction() { + AccessController.doPrivileged(new PrivilegedAction<>() { public Void run() { SecurityManager sm = System.getSecurityManager(); if (sm != null) { @@ -287,7 +287,7 @@ synchronized (updateLock) { if (handler == null) { this.acceptHandler = null; - result = new PendingFuture(this); + result = new PendingFuture<>(this); this.acceptFuture = result; } else { this.acceptHandler = handler;