eclipse / lsp4jakarta

Language Server for Jakarta EE
Eclipse Public License 2.0
33 stars 51 forks source link

Export all commons.* packages from jakarta.jdt bundle #503

Closed scottkurz closed 9 months ago

scottkurz commented 12 months ago

Without this I hit a ClassCastException when trying to resolve a code action from the LSP4MP.

I was running into a scenario where one path resolved the code action data directly from the lsp4e bundle and the other path accessed it via my "client" bundle. The client also packages the "commons*" classes, but if we export them from jakarta.jdt we will consistently load them from this bundle rather than using our local client-packaged classes.

Leaving aside the other difficulties with the LSP4MP code action above, it seemed like this could be fixed independently.