diff --git a/src/javaServerStarter.ts b/src/javaServerStarter.ts index 4aa52d2c0..d8c3beafb 100644 --- a/src/javaServerStarter.ts +++ b/src/javaServerStarter.ts @@ -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'