8169638: serviceability/sa/TestInstanceKlassSize.java and serviceability/sa/TestInstanceKlassSizeForInterface.java fail compilation
Modified the jtreg tests to use @modules Reviewed-by: dsamersoff, rehn
This commit is contained in:
parent
5f5f5e574d
commit
81f1e7056b
hotspot/test/serviceability/sa
@ -45,19 +45,11 @@ import java.util.*;
|
|||||||
* @test
|
* @test
|
||||||
* @library /test/lib
|
* @library /test/lib
|
||||||
* @modules java.base/jdk.internal.misc
|
* @modules java.base/jdk.internal.misc
|
||||||
* @compile -XDignore.symbol.file=true
|
* jdk.hotspot.agent/sun.jvm.hotspot
|
||||||
* --add-exports=jdk.hotspot.agent/sun.jvm.hotspot=ALL-UNNAMED
|
* jdk.hotspot.agent/sun.jvm.hotspot.utilities
|
||||||
* --add-exports=jdk.hotspot.agent/sun.jvm.hotspot.utilities=ALL-UNNAMED
|
* jdk.hotspot.agent/sun.jvm.hotspot.oops
|
||||||
* --add-exports=jdk.hotspot.agent/sun.jvm.hotspot.oops=ALL-UNNAMED
|
* jdk.hotspot.agent/sun.jvm.hotspot.debugger
|
||||||
* --add-exports=jdk.hotspot.agent/sun.jvm.hotspot.debugger=ALL-UNNAMED
|
* @run main/othervm TestInstanceKlassSize
|
||||||
* TestInstanceKlassSize.java
|
|
||||||
* @run main/othervm
|
|
||||||
* --add-modules=jdk.hotspot.agent
|
|
||||||
* --add-exports=jdk.hotspot.agent/sun.jvm.hotspot=ALL-UNNAMED
|
|
||||||
* --add-exports=jdk.hotspot.agent/sun.jvm.hotspot.utilities=ALL-UNNAMED
|
|
||||||
* --add-exports=jdk.hotspot.agent/sun.jvm.hotspot.oops=ALL-UNNAMED
|
|
||||||
* --add-exports=jdk.hotspot.agent/sun.jvm.hotspot.debugger=ALL-UNNAMED
|
|
||||||
* TestInstanceKlassSize
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class TestInstanceKlassSize {
|
public class TestInstanceKlassSize {
|
||||||
|
@ -38,19 +38,11 @@ import jdk.test.lib.Asserts;
|
|||||||
* @test
|
* @test
|
||||||
* @library /test/lib
|
* @library /test/lib
|
||||||
* @modules java.base/jdk.internal.misc
|
* @modules java.base/jdk.internal.misc
|
||||||
* @compile -XDignore.symbol.file=true
|
* jdk.hotspot.agent/sun.jvm.hotspot
|
||||||
* --add-exports=jdk.hotspot.agent/sun.jvm.hotspot=ALL-UNNAMED
|
* jdk.hotspot.agent/sun.jvm.hotspot.utilities
|
||||||
* --add-exports=jdk.hotspot.agent/sun.jvm.hotspot.utilities=ALL-UNNAMED
|
* jdk.hotspot.agent/sun.jvm.hotspot.oops
|
||||||
* --add-exports=jdk.hotspot.agent/sun.jvm.hotspot.oops=ALL-UNNAMED
|
* jdk.hotspot.agent/sun.jvm.hotspot.debugger
|
||||||
* --add-exports=jdk.hotspot.agent/sun.jvm.hotspot.debugger=ALL-UNNAMED
|
* @run main/othervm TestInstanceKlassSizeForInterface
|
||||||
* TestInstanceKlassSizeForInterface.java
|
|
||||||
* @run main/othervm
|
|
||||||
* --add-modules=jdk.hotspot.agent
|
|
||||||
* --add-exports=jdk.hotspot.agent/sun.jvm.hotspot=ALL-UNNAMED
|
|
||||||
* --add-exports=jdk.hotspot.agent/sun.jvm.hotspot.utilities=ALL-UNNAMED
|
|
||||||
* --add-exports=jdk.hotspot.agent/sun.jvm.hotspot.oops=ALL-UNNAMED
|
|
||||||
* --add-exports=jdk.hotspot.agent/sun.jvm.hotspot.debugger=ALL-UNNAMED
|
|
||||||
* TestInstanceKlassSizeForInterface
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
interface Language {
|
interface Language {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user