We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb52334 commit 7ab4edaCopy full SHA for 7ab4eda
test/functional/Java8andUp/src/org/openj9/test/attachAPI/TestAttachAPI.java
@@ -1104,8 +1104,13 @@ public void test_attachperm04_05() {
1104
try {
1105
ap.checkGuard(this);
1106
} catch (SecurityException unwantedException) {
1107
- fail("attachperm04: checkGuard: unexpected exception: "
1108
- + unwantedException.getMessage());
+ String m = unwantedException.getMessage();
+ if (m.contains("checking permissions is not supported")) {
1109
+ return;
1110
+ } else {
1111
+ fail("attachperm04: checkGuard: unexpected exception: "
1112
+ + unwantedException.getMessage());
1113
+ }
1114
}
1115
String testString = ap.toString();
1116
assertTrue(
0 commit comments