mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8345565
: Remove remaining SecurityManager motivated APIs from sun.reflect.util
Reviewed-by: mullan, rriggs, liach
This commit is contained in:
parent
97b8a09bda
commit
691e692149
10 changed files with 7 additions and 258 deletions
|
@ -60,7 +60,6 @@ import java.util.ArrayList;
|
|||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.LinkedHashSet;
|
||||
import java.util.List;
|
||||
|
@ -91,7 +90,6 @@ import sun.reflect.generics.repository.MethodRepository;
|
|||
import sun.reflect.generics.repository.ConstructorRepository;
|
||||
import sun.reflect.generics.scope.ClassScope;
|
||||
import sun.reflect.annotation.*;
|
||||
import sun.reflect.misc.ReflectUtil;
|
||||
|
||||
/**
|
||||
* Instances of the class {@code Class} represent classes and
|
||||
|
|
|
@ -52,7 +52,6 @@ import jdk.internal.module.Modules;
|
|||
import jdk.internal.misc.VM;
|
||||
import jdk.internal.loader.ClassLoaderValue;
|
||||
import jdk.internal.vm.annotation.Stable;
|
||||
import sun.reflect.misc.ReflectUtil;
|
||||
|
||||
import static java.lang.invoke.MethodType.methodType;
|
||||
import static java.lang.module.ModuleDescriptor.Modifier.SYNTHETIC;
|
||||
|
@ -984,7 +983,7 @@ public class Proxy implements java.io.Serializable {
|
|||
return ih;
|
||||
}
|
||||
|
||||
private static final String PROXY_PACKAGE_PREFIX = ReflectUtil.PROXY_PACKAGE;
|
||||
private static final String PROXY_PACKAGE_PREFIX = "com.sun.proxy";
|
||||
|
||||
/**
|
||||
* A cache of Method -> MethodHandle for default methods.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue