8314828: Mark 3 jcmd command-line options test as vm.flagless

Reviewed-by: cjplummer
This commit is contained in:
Leonid Mesnik 2023-09-13 22:52:01 +00:00
parent 1741d13b12
commit 23fab1181b
3 changed files with 5 additions and 6 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, 2023, 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
@ -33,7 +33,7 @@ import org.testng.annotations.Test;
* @test
* @summary Test of diagnostic command help (tests all DCMD executors)
* @library /test/lib
* /vmTestbase
* @requires vm.flagless
* @modules java.base/jdk.internal.misc
* java.compiler
* java.management

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, 2023, 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
@ -33,7 +33,7 @@ import org.testng.annotations.Test;
* @test
* @summary Test of invalid diagnostic command (tests all DCMD executors)
* @library /test/lib
* /vmTestbase
* @requires vm.flagless
* @modules java.base/jdk.internal.misc
* java.compiler
* java.management

View File

@ -27,7 +27,6 @@ import jdk.test.lib.dcmd.PidJcmdExecutor;
import jdk.test.lib.dcmd.MainClassJcmdExecutor;
import jdk.test.lib.dcmd.FileJcmdExecutor;
import jdk.test.lib.dcmd.JMXExecutor;
import nsk.share.jdi.ArgumentHandler;
import org.testng.annotations.Test;
@ -44,7 +43,7 @@ import org.testng.annotations.Test;
* java.management
* jdk.internal.jvmstat/sun.jvmstat.monitor
* @library /test/lib
* /vmTestbase
* @requires vm.flagless
* @run testng/othervm -XX:+UsePerfData VMVersionTest
*/
public class VMVersionTest {