8078467: Update core libraries to use diamond with anonymous classes

Reviewed-by: mchung, alanb
This commit is contained in:
Joe Darcy 2015-04-23 09:32:35 -07:00
parent f3a11c507f
commit d112215fc2
109 changed files with 231 additions and 232 deletions

View file

@ -199,7 +199,7 @@ public class MethodHandleProxies {
// sun.invoke.WrapperInstance is a restricted interface not accessible
// by any non-null class loader.
final ClassLoader loader = proxyLoader;
proxy = AccessController.doPrivileged(new PrivilegedAction<Object>() {
proxy = AccessController.doPrivileged(new PrivilegedAction<>() {
public Object run() {
return Proxy.newProxyInstance(
loader,