mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8137058: Clear out all non-Critical APIs from sun.reflect
Reviewed-by: alanb, jfranck, mchung
This commit is contained in:
parent
76e228d3db
commit
00f6a09302
23 changed files with 77 additions and 71 deletions
|
@ -28,7 +28,8 @@
|
|||
* @requires (os.simpleArch == "x64" | os.simpleArch == "sparcv9" | os.simpleArch == "aarch64")
|
||||
* @library /testlibrary /test/lib /
|
||||
* @library ../common/patches
|
||||
* @modules java.base/jdk.internal.org.objectweb.asm
|
||||
* @modules java.base/jdk.internal.reflect
|
||||
* java.base/jdk.internal.org.objectweb.asm
|
||||
* java.base/jdk.internal.org.objectweb.asm.tree
|
||||
* jdk.vm.ci/jdk.vm.ci.hotspot
|
||||
* jdk.vm.ci/jdk.vm.ci.code
|
||||
|
@ -76,7 +77,7 @@ public class MethodIsIgnoredBySecurityStackWalkTest {
|
|||
testCases.put(aClass.getMethod("invoke", Object.class,
|
||||
Object[].class), true);
|
||||
|
||||
aClass = Class.forName("sun.reflect.NativeMethodAccessorImpl");
|
||||
aClass = Class.forName("jdk.internal.reflect.NativeMethodAccessorImpl");
|
||||
testCases.put(aClass.getMethod("invoke", Object.class,
|
||||
Object[].class), true);
|
||||
testCases.put(aClass.getDeclaredMethod("invoke0", Method.class,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue