Skip to content

Commit

Permalink
Open more requested system packages for "javac" support.
Browse files Browse the repository at this point in the history
- jdk.compiler/com.sun.tools.javac.platform=ALL-UNNAMED,
- jdk.compiler/com.sun.tools.javac.resources=ALL-UNNAMED
- Fix add-opens for some existing modules

Signed-off-by: Roland Grunberg <[email protected]>
  • Loading branch information
rgrunber committed Nov 7, 2024
1 parent 1e7b9a9 commit 11dc820
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/javaServerStarter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,13 @@ function prepareParams(requirements: RequirementsData, workspacePath, context: E
'--add-opens',
'jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED',
'--add-opens',
'jdk.javadoc/jdk.javadoc.internal.doclets.formats.html.taglets.snippet=ALL-UNNAMED --add-opens jdk.javadoc/jdk.javadoc.internal.doclets.formats.html.taglets=ALL-UNNAMED',
'jdk.javadoc/jdk.javadoc.internal.doclets.formats.html.taglets.snippet=ALL-UNNAMED',
'--add-opens',
'jdk.javadoc/jdk.javadoc.internal.doclets.formats.html.taglets=ALL-UNNAMED',
'--add-opens',
'jdk.compiler/com.sun.tools.javac.platform=ALL-UNNAMED',
'--add-opens',
'jdk.compiler/com.sun.tools.javac.resources=ALL-UNNAMED',
'-DICompilationUnitResolver=org.eclipse.jdt.core.dom.JavacCompilationUnitResolver',
'-DCompilationUnit.DOM_BASED_OPERATIONS=true',
'-DAbstractImageBuilder.compilerFactory=org.eclipse.jdt.internal.javac.JavacCompilerFactory'
Expand Down

0 comments on commit 11dc820

Please sign in to comment.