mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8078467: Update core libraries to use diamond with anonymous classes
Reviewed-by: mchung, alanb
This commit is contained in:
parent
f3a11c507f
commit
d112215fc2
109 changed files with 231 additions and 232 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue