Skip to content

Commit 3d40cac

Browse files
committedAug 4, 2021
8271821: mark hotspot runtime/MinimalVM tests which ignore external VM flags
Reviewed-by: dholmes
1 parent 33ec3a4 commit 3d40cac

File tree

6 files changed

+12
-6
lines changed

6 files changed

+12
-6
lines changed
 

‎test/hotspot/jtreg/runtime/MinimalVM/CDS.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2016, 2021, 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
@@ -24,6 +24,7 @@
2424
/*
2525
* @test
2626
* @requires vm.flavor == "minimal"
27+
* @requires vm.flagless
2728
* @modules java.base/jdk.internal.misc
2829
* @library /test/lib
2930
* @run driver CDS

‎test/hotspot/jtreg/runtime/MinimalVM/CheckJNI.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2016, 2021, 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
@@ -24,6 +24,7 @@
2424
/*
2525
* @test
2626
* @requires vm.flavor == "minimal"
27+
* @requires vm.flagless
2728
* @modules java.base/jdk.internal.misc
2829
* @library /test/lib
2930
* @run driver CheckJNI

‎test/hotspot/jtreg/runtime/MinimalVM/Instrumentation.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2016, 2021, 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
@@ -25,6 +25,7 @@
2525
* @test
2626
* @library /test/lib
2727
* @requires vm.flavor == "minimal"
28+
* @requires vm.flagless
2829
* @modules java.base/jdk.internal.misc
2930
* java.instrument
3031
* @run driver Instrumentation

‎test/hotspot/jtreg/runtime/MinimalVM/JMX.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2016, 2021, 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
@@ -24,6 +24,7 @@
2424
/*
2525
* @test
2626
* @requires vm.flavor == "minimal"
27+
* @requires vm.flagless
2728
* @library /test/lib
2829
* @run main/othervm JMX
2930
*/

‎test/hotspot/jtreg/runtime/MinimalVM/JVMTI.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2016, 2021, 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
@@ -24,6 +24,7 @@
2424
/*
2525
* @test
2626
* @requires vm.flavor == "minimal"
27+
* @requires vm.flagless
2728
* @modules java.base/jdk.internal.misc
2829
* @library /test/lib
2930
* @run driver JVMTI

‎test/hotspot/jtreg/runtime/MinimalVM/NMT.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2016, 2021, 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
@@ -24,6 +24,7 @@
2424
/*
2525
* @test
2626
* @requires vm.flavor == "minimal"
27+
* @requires vm.flagless
2728
* @modules java.base/jdk.internal.misc
2829
* @library /test/lib
2930
* @run driver NMT

0 commit comments

Comments
 (0)
Please sign in to comment.