You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/security-lockdown/runner/src/test/java/org/glassfish/securitylockdown/test/SecurityLockdownTest.java
+26-17
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,5 @@
1
1
/*
2
+
* Copyright (c) 2025 Contributors to Eclipse Foundation.
2
3
* Copyright (c) 2012, 2018 Oracle and/or its affiliates. All rights reserved.
3
4
* Copyright (c) 2020 Payara Services Ltd.
4
5
*
@@ -17,22 +18,30 @@
17
18
18
19
packageorg.glassfish.securitylockdown.test;
19
20
20
-
importorg.junit.Assert;
21
+
importcom.alice.application.AliceApp;
22
+
importcom.mallory.application.MalloryApp;
21
23
22
24
importorg.glassfish.hk2.api.MultiException;
25
+
importorg.junit.Assert;
26
+
importorg.junit.Before;
23
27
importorg.junit.Test;
24
28
importorg.jvnet.hk2.testing.junit.HK2Runner;
25
29
26
-
importcom.alice.application.AliceApp;
27
-
importcom.mallory.application.MalloryApp;
30
+
importstaticorg.junit.Assume.assumeTrue;
28
31
29
32
/**
30
-
*
33
+
*
31
34
* @author jwells
32
35
*
33
36
*/
34
37
publicclassSecurityLockdownTestextendsHK2Runner {
35
-
38
+
39
+
@Before
40
+
publicvoidbeforeMethod() {
41
+
// Security Manager tests using "AccessController.checkPermission(p);" don't work in JDK24+
0 commit comments