Skip to content

Commit

Permalink
8271821: mark hotspot runtime/MinimalVM tests which ignore external V…
Browse files Browse the repository at this point in the history
…M flags

Backport-of: 3d40cac8ce3cb087788cdaa04d567eee4a1d8052
  • Loading branch information
GoeLin committed Oct 5, 2024
1 parent 538e17a commit 6c5bac0
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
3 changes: 2 additions & 1 deletion test/hotspot/jtreg/runtime/MinimalVM/CDS.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2016, 2021, 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 All @@ -24,6 +24,7 @@
/*
* @test
* @requires vm.flavor == "minimal"
* @requires vm.flagless
* @modules java.base/jdk.internal.misc
* @library /test/lib
* @run driver CDS
Expand Down
3 changes: 2 additions & 1 deletion test/hotspot/jtreg/runtime/MinimalVM/CheckJNI.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2016, 2021, 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 All @@ -24,6 +24,7 @@
/*
* @test
* @requires vm.flavor == "minimal"
* @requires vm.flagless
* @modules java.base/jdk.internal.misc
* @library /test/lib
* @run driver CheckJNI
Expand Down
3 changes: 2 additions & 1 deletion test/hotspot/jtreg/runtime/MinimalVM/Instrumentation.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2016, 2021, 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 All @@ -25,6 +25,7 @@
* @test
* @library /test/lib
* @requires vm.flavor == "minimal"
* @requires vm.flagless
* @modules java.base/jdk.internal.misc
* java.instrument
* @run driver Instrumentation
Expand Down
3 changes: 2 additions & 1 deletion test/hotspot/jtreg/runtime/MinimalVM/JMX.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2016, 2021, 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 All @@ -24,6 +24,7 @@
/*
* @test
* @requires vm.flavor == "minimal"
* @requires vm.flagless
* @library /test/lib
* @run main/othervm JMX
*/
Expand Down
3 changes: 2 additions & 1 deletion test/hotspot/jtreg/runtime/MinimalVM/JVMTI.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2016, 2021, 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 All @@ -24,6 +24,7 @@
/*
* @test
* @requires vm.flavor == "minimal"
* @requires vm.flagless
* @modules java.base/jdk.internal.misc
* @library /test/lib
* @run driver JVMTI
Expand Down
3 changes: 2 additions & 1 deletion test/hotspot/jtreg/runtime/MinimalVM/NMT.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2016, 2021, 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 All @@ -24,6 +24,7 @@
/*
* @test
* @requires vm.flavor == "minimal"
* @requires vm.flagless
* @modules java.base/jdk.internal.misc
* @library /test/lib
* @run driver NMT
Expand Down

1 comment on commit 6c5bac0

@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.