Skip to content

Commit 1876e2c

Browse files
authored
Fix Kyeth for Java 25 (#3002)
1 parent 49f14b5 commit 1876e2c

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ allprojects {
200200
"--add-exports",
201201
"jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED"]
202202
options.forkOptions.jvmArgs = ["-J--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED",
203+
"-J--add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED",
203204
"-J--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED",
204205
"-J--add-exports=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED",
205206
"-J--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED",

release/cloudbuild-kythe.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ steps:
3131
export JAVAC_EXTRACTOR_JAR="$${PWD}/kythe/extractors/javac_extractor.jar"
3232
jvmopts="--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED"
3333
jvmopts="$${jvmopts} --add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED"
34+
jvmopts="$${jvmopts} --add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED"
3435
jvmopts="$${jvmopts} --add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED"
3536
jvmopts="$${jvmopts} --add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED"
3637
jvmopts="$${jvmopts} --add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED"

0 commit comments

Comments
 (0)