Skip to content

Commit f68f9ef

Browse files
authored
test with java 24 in main.yml (#5186)
1 parent b06ffc4 commit f68f9ef

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
strategy:
2020
fail-fast: false
2121
matrix:
22-
java_version: ['8', '11', '17', '21', '23']
22+
java_version: ['8', '11', '17', '21', '24']
2323
os: ['ubuntu-24.04']
2424
include:
2525
- java_version: '8'

src/test/java/com/fasterxml/jackson/databind/misc/AccessFixTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ public void testCauseOfThrowableIgnoral() throws Exception
4141
_testCauseOfThrowableIgnoral(mapper);
4242
} catch (UnsupportedOperationException e) {
4343
// JDK 21+ fail?
44-
verifyException(e, "Security Manager is deprecated");
44+
verifyException(e,
45+
"Security Manager is deprecated",
46+
"Setting a Security Manager is not supported");
4547
} finally {
4648
if (setSucceeded) {
4749
System.setSecurityManager(origSecMan);

0 commit comments

Comments
 (0)