Skip to content

Commit 2436ed0

Browse files
committed
Allow reflective access of java.net
1 parent 0295ad8 commit 2436ed0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/maven-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@ jobs:
9090
if: matrix.os == 'windows' && matrix.java != '8'
9191
env:
9292
MAVEN_OPTS: ${{ env.JAVA_11_PLUS_MAVEN_OPTS }}
93-
run: mvn -B install --file pom.xml
93+
run: mvn -B install --file pom.xml "-Dsurefire.argLine=--add-opens java.base/java.net=ALL-UNNAMED"
9494
- name: Maven Install with Code Coverage
9595
if: matrix.os != 'windows' && matrix.java != '8'
9696
env:
9797
MAVEN_OPTS: ${{ env.JAVA_11_PLUS_MAVEN_OPTS }}
98-
run: mvn -B install -D enable-ci --file pom.xml
98+
run: mvn -B install -D enable-ci --file pom.xml "-Dsurefire.argLine=--add-opens java.base/java.net=ALL-UNNAMED"

0 commit comments

Comments
 (0)