Skip to content

Commit 21d1a10

Browse files
committed
[Core] Changes to enable building with JDK17
1 parent c043dd3 commit 21d1a10

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/gradle_build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Set up JDK 11
2222
uses: actions/setup-java@v3
2323
with:
24-
java-version: '11'
24+
java-version: '17'
2525
distribution: 'temurin'
2626
- name: Checkout
2727
uses: actions/checkout@v3

common.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ subprojects {
112112
// helper method to list all non-empty packages in jar
113113
ext.getPackagesFromJar = { jarFile, packageSet ->
114114
//println jarFile
115-
FileSystems.newFileSystem(jarFile.toPath(), null).withCloseable { fs ->
115+
FileSystems.newFileSystem(jarFile.toPath(), ClassLoader.getSystemClassLoader()).withCloseable { fs ->
116116
def rootDir = fs.getPath('/')
117117
getPackagesFromDir(rootDir, packageSet)
118118
}

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m
1+
org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)