Skip to content

Commit 5d95322

Browse files
committed
Can test on Java 21 now and on 17 without --add-exports
Also forking the JVM for tests not necessary anymore
1 parent 885f114 commit 5d95322

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.github/workflows/build-test.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ jobs:
3939
- "check-docs"
4040
uses: playframework/.github/.github/workflows/cmd.yml@v4
4141
with:
42-
# Can't test with Java 21+ currently because of https://github.com/lightbend/ssl-config/issues/367
43-
java: 17
42+
java: 21, 17
4443
scala: 3.x, 2.13.x
4544
cmd: sbt ++$MATRIX_SCALA test
4645

project/CommonPlugin.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ object CommonPlugin extends AutoPlugin {
1818
Nil
1919
},
2020
doc / javacOptions --= Seq("-Xlint:unchecked", "-Xlint:deprecation"),
21-
Test / javaOptions ++= Seq("--add-exports=java.base/sun.security.x509=ALL-UNNAMED"),
22-
Test / fork := true,
2321
crossScalaVersions := Seq(scala213, scala3),
2422
scalaVersion := scala213,
2523
)

0 commit comments

Comments
 (0)