Skip to content

Commit

Permalink
8314828: Mark 3 jcmd command-line options test as vm.flagless
Browse files Browse the repository at this point in the history
8316228: jcmd tests are broken by 8314828

Backport-of: 23fab1181b6a053efc4661d5a10caa90b109aa06
  • Loading branch information
GoeLin committed Mar 7, 2024
1 parent ab6e027 commit 315d051
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -34,6 +34,7 @@
* @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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -34,6 +34,7 @@
* @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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
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;

Expand All @@ -45,6 +44,7 @@
* jdk.internal.jvmstat/sun.jvmstat.monitor
* @library /test/lib
* /vmTestbase
* @requires vm.flagless
* @run testng/othervm -XX:+UsePerfData VMVersionTest
*/
public class VMVersionTest {
Expand Down

1 comment on commit 315d051

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.