8155034: [TESTBUG] ctw tests fail to compile: module reads package sun.reflect from both jdk.unsupported and java.base
Replace sun.reflect with jdk.internal.reflect Reviewed-by: iignatyev, ddmitriev
This commit is contained in:
parent
7d20b786fd
commit
9c04e65bda
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -25,7 +25,7 @@ package sun.hotspot.tools.ctw;
|
||||
|
||||
import sun.hotspot.WhiteBox;
|
||||
import jdk.internal.misc.SharedSecrets;
|
||||
import sun.reflect.ConstantPool;
|
||||
import jdk.internal.reflect.ConstantPool;
|
||||
|
||||
import java.lang.reflect.Executable;
|
||||
|
||||
|
@ -26,7 +26,7 @@
|
||||
* @bug 8012447
|
||||
* @library /testlibrary /test/lib /testlibrary/ctw/src
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.base/sun.reflect
|
||||
* java.base/jdk.internal.reflect
|
||||
* java.management
|
||||
* @build ClassFileInstaller sun.hotspot.tools.ctw.CompileTheWorld sun.hotspot.WhiteBox Foo Bar
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox Foo Bar
|
||||
|
@ -26,7 +26,7 @@
|
||||
* @bug 8012447
|
||||
* @library /testlibrary /test/lib /testlibrary/ctw/src
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.base/sun.reflect
|
||||
* java.base/jdk.internal.reflect
|
||||
* java.management
|
||||
* @build ClassFileInstaller sun.hotspot.tools.ctw.CompileTheWorld sun.hotspot.WhiteBox Foo Bar
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox Foo Bar
|
||||
|
@ -26,7 +26,7 @@
|
||||
* @bug 8012447
|
||||
* @library /testlibrary /test/lib /testlibrary/ctw/src
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.base/sun.reflect
|
||||
* java.base/jdk.internal.reflect
|
||||
* java.compiler
|
||||
* java.management
|
||||
* jdk.jvmstat/sun.jvmstat.monitor
|
||||
|
@ -26,7 +26,7 @@
|
||||
* @bug 8012447
|
||||
* @library /testlibrary /test/lib /testlibrary/ctw/src
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.base/sun.reflect
|
||||
* java.base/jdk.internal.reflect
|
||||
* java.compiler
|
||||
* java.management
|
||||
* jdk.jvmstat/sun.jvmstat.monitor
|
||||
|
Loading…
Reference in New Issue
Block a user