Skip to content

Commit 3e2941c

Browse files
committed
Backport 315d051f6842120f233bb5b7dd488cabcd2e968d
1 parent 8ea7310 commit 3e2941c

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

test/hotspot/jtreg/serviceability/dcmd/framework/HelpTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2015, 2023, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -34,6 +34,7 @@
3434
* @summary Test of diagnostic command help (tests all DCMD executors)
3535
* @library /test/lib
3636
* /vmTestbase
37+
* @requires vm.flagless
3738
* @modules java.base/jdk.internal.misc
3839
* java.compiler
3940
* java.management

test/hotspot/jtreg/serviceability/dcmd/framework/InvalidCommandTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2015, 2023, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -34,6 +34,7 @@
3434
* @summary Test of invalid diagnostic command (tests all DCMD executors)
3535
* @library /test/lib
3636
* /vmTestbase
37+
* @requires vm.flagless
3738
* @modules java.base/jdk.internal.misc
3839
* java.compiler
3940
* java.management

test/hotspot/jtreg/serviceability/dcmd/framework/VMVersionTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
import jdk.test.lib.dcmd.MainClassJcmdExecutor;
2828
import jdk.test.lib.dcmd.FileJcmdExecutor;
2929
import jdk.test.lib.dcmd.JMXExecutor;
30-
import nsk.share.jdi.ArgumentHandler;
3130

3231
import org.testng.annotations.Test;
3332

@@ -37,6 +36,7 @@
3736
* @summary Test of diagnostic command VM.version (tests all DCMD executors)
3837
* @library /test/lib
3938
* /vmTestbase
39+
* @requires vm.flagless
4040
* @modules java.base/jdk.internal.misc
4141
* java.base/jdk.internal.module
4242
* java.compiler

0 commit comments

Comments
 (0)