Skip to content

Commit b827ce8

Browse files
author
Roger Riggs
committed
8298993: (process) java/lang/ProcessBuilder/UnblockSignals.java fails
Reviewed-by: bchristi
1 parent 7871390 commit b827ce8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/jdk/java/lang/ProcessBuilder/UnblockSignals.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2022, 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
@@ -28,6 +28,8 @@
2828
* @summary Verify Signal mask is cleared by ProcessBuilder start
2929
* @bug 8234262
3030
* @requires (os.family == "linux" | os.family == "mac")
31+
* @comment Don't allow -Xcomp, it disturbs the relative timing of the sleep and kill commands
32+
* @requires (vm.compMode != "Xcomp")
3133
* @run main/othervm UnblockSignals
3234
* @run main/othervm -Xrs UnblockSignals
3335
*/

0 commit comments

Comments
 (0)