Skip to content

Conversation

@datho7561
Copy link
Contributor

Use either JavadocContentAccess2.getMarkdownContent or JavadocContentAccess2.getMarkdownContentReader depending on what's available.

This is important, since the jdt.ls with the API change is used during compilation and CI, but is not published yet.

To test: build the jdt component and then run it in VS Code using vscode-microprofile.

Use either `JavadocContentAccess2.getMarkdownContent`
or `JavadocContentAccess2.getMarkdownContentReader` depending on what's
available.

This is important, since the jdt.ls with the API change is used during
compilation and CI, but is not published yet.

To test: build the jdt component and then run it in VS Code using
vscode-microprofile.

Signed-off-by: David Thompson <[email protected]>
@fbricon
Copy link
Contributor

fbricon commented Dec 4, 2025

We can also restore the methods in jdtls

@angelozerr
Copy link
Contributor

We can also restore the methods in jdtls

If it is possible I think it should be better.

@datho7561
Copy link
Contributor Author

If it simplifies the code, I think it's worth keeping the change in jdt.ls. We're accessing non-API code from jdt.ls here anyways. lsp4mp should only use this messy implementation for a few releases of jdt.ls/vscode-java, then we can switch over to just using the new method.

FYI Angelo was hoping to get a release today.

@datho7561
Copy link
Contributor Author

I opened eclipse-jdtls/eclipse.jdt.ls#3634; I don't really have a strong opinion on which solution is better, but we will need one of them in order to release today.

@fbricon
Copy link
Contributor

fbricon commented Dec 4, 2025

Easier to restore the code in jdtls, which I merged, once jdtls is released, you can then migrate to the new code, no need for ugly reflection hacks

@datho7561 datho7561 closed this Dec 4, 2025
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