Skip to content

Conversation

'--add-opens',
'java.base/java.nio.channels=ALL-UNNAMED',
'--add-opens',
'java.base/sun.nio.ch=ALL-UNNAMED',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

another one is freshly necessary: --add-opens java.compiler/javax.tools=ALL-UNNAMED. Note that the exact list is available in the org.eclipse.jdt.core.javac/META-INF/p2.inf` file and should be part of the .ini file generated with the JDT-LS product.
Ideally, instead of hardcoding/duplicating those here, they should be read from one of the upstream files.

@snjeza
Copy link
Collaborator Author

snjeza commented Dec 20, 2024

another one is freshly necessary: --add-opens java.compiler/javax.tools=ALL-UNNAMED. Note that the exact list is available in the org.eclipse.jdt.core.javac/META-INF/p2.inf` file and should be part of the .ini file generated with the JDT-LS product.

I have added it - 4f51d5c#diff-2d9ec606b265a83596a734df153c4ef01523700dc2576dcf1a80c9092c14d6d3R143

@mickaelistria
Copy link
Contributor

Good to be merged ASAP IMO

@rgrunber
Copy link
Member

@snjeza , if you have time, I would also update https://github.com/eclipse-jdtls/eclipse.jdt.ls/blob/1d41ddee3b461fcd8b30eadb3d7dd6abf56814ed/pom.xml#L343 .

@rgrunber rgrunber merged commit 266537c into redhat-developer:master Dec 30, 2024
2 checks passed
@snjeza
Copy link
Collaborator Author

snjeza commented Dec 30, 2024

if you have time, I would also update https://github.com/eclipse-jdtls/eclipse.jdt.ls/blob/1d41ddee3b461fcd8b30eadb3d7dd6abf56814ed/pom.xml#L343 .

@rgrunber Please check eclipse-jdtls/eclipse.jdt.ls#3351

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants