After running an update, I found myself in a situation that various lsp4j bundles in version 019.0 as well as 0.21.1 are installed. While that should not be a problem on its own, the package wiring that I ended up with is somewhat strange.
g! packages org.eclipse.lsp4j.jsonrpc
osgi.wiring.package; bundle-symbolic-name="org.eclipse.lsp4j.jsonrpc"; bundle-version:Version="0.20.1.v20230228-1531"; version:Version="0.20.1"; osgi.wiring.package="org.eclipse.lsp4j.jsonrpc"; uses:="com.google.gson,org.eclipse.lsp4j.jsonrpc.json,org.eclipse.lsp4j.jsonrpc.messages"<org.eclipse.lsp4j.jsonrpc_0.20.1.v20230228-1531 [732]>
org.eclipse.lsp4j.jsonrpc_0.19.0.v20221118-0359 [321] imports
org.eclipse.lsp4e.debug_0.15.1.202301162058 [317] imports
org.eclipse.lsp4j.debug_0.19.0.v20221118-0359 [320] imports
org.eclipse.lsp4j.jsonrpc.debug_0.19.0.v20221118-0359 [322] imports
g! packages org.eclipse.lsp4j.jsonrpc.json
osgi.wiring.package; bundle-symbolic-name="org.eclipse.lsp4j.jsonrpc"; bundle-version:Version="0.19.0.v20221118-0359"; version:Version="0.19.0"; osgi.wiring.package="org.eclipse.lsp4j.jsonrpc.json"; uses:="com.google.gson,org.eclipse.lsp4j.jsonrpc,org.eclipse.lsp4j.jsonrpc.messages"<org.eclipse.lsp4j.jsonrpc_0.19.0.v20221118-0359 [321]>
org.eclipse.lsp4j.jsonrpc_0.20.1.v20230228-1531 [732] imports
org.eclipse.lsp4e.debug_0.15.1.202301162058 [317] imports
org.eclipse.lsp4j.jsonrpc.debug_0.19.0.v20221118-0359 [322] imports
This looks like the package org.eclipse.lsp4j.jsonrpc is imported in version 0.19.0 from the 0.20.1 bundle and vice versa.
This somehow causes the bundle org.eclipse.lsp4j in version 0.20.1 to not resolve with this problem diagnosis:
g! diag 731
org.eclipse.lsp4j [731]
Unresolved requirement: Import-Package: org.eclipse.lsp4j.jsonrpc.json; version="[0.20.0,1.0.0)"
It seems to me like the re-import of the exported packages is causing some confusion.
After running an update, I found myself in a situation that various lsp4j bundles in version
019.0as well as0.21.1are installed. While that should not be a problem on its own, the package wiring that I ended up with is somewhat strange.This looks like the package
org.eclipse.lsp4j.jsonrpcis imported in version0.19.0from the0.20.1bundle and vice versa.This somehow causes the bundle
org.eclipse.lsp4jin version0.20.1to not resolve with this problem diagnosis:It seems to me like the re-import of the exported packages is causing some confusion.