Skip to content

Commit 659498a

Browse files
committedAug 4, 2021
8271829: mark hotspot runtime/Throwable tests which ignore external VM flags
Reviewed-by: jiefu
1 parent d3b40cb commit 659498a

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed
 

‎test/hotspot/jtreg/runtime/Throwable/StackTraceLogging.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
* @bug 8150778
2727
* @summary check stacktrace logging
28+
* @requires vm.flagless
2829
* @library /test/lib
2930
* @modules java.base/jdk.internal.misc
3031
* java.management

‎test/hotspot/jtreg/runtime/Throwable/TestCatchThrowableOOM.java

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
* @test
2626
* @bug 8267118
2727
* @summary Test catching Throwable doesn't trigger OOME
28+
* @requires vm.flagless
2829
* @library /test/lib
2930
* @run driver TestCatchThrowableOOM
3031
*/

‎test/hotspot/jtreg/runtime/Throwable/TestMaxJavaStackTraceDepth.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2018, 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
* @bug 7179701
2727
* @summary MaxJavaStackTraceDepth of zero is not handled correctly/consistently in the VM
28+
* @requires vm.flagless
2829
* @modules java.base/jdk.internal.misc:open
2930
* @modules java.base/java.lang:open
3031
* @library /test/lib

0 commit comments

Comments
 (0)
Failed to load comments.