We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ff85f6 commit 781a2e0Copy full SHA for 781a2e0
test/lib/jdk/test/lib/Platform.java
@@ -293,6 +293,10 @@ public static boolean isHardenedOSX() throws IOException {
293
isHardened = true;
294
System.out.println("Target JDK is hardened. Some tests may be skipped.");
295
} else if (line.indexOf("flags=0x20002(adhoc,linker-signed)") != -1 ) {
296
+ hardenedStatusConfirmed = true;
297
+ isHardened = false;
298
+ System.out.println("Target JDK is adhoc linker-signed, but not hardened.");
299
+ } else if (line.indexOf("flags=0x2(adhoc)") != -1 ) {
300
hardenedStatusConfirmed = true;
301
isHardened = false;
302
System.out.println("Target JDK is adhoc signed, but not hardened.");
0 commit comments