In MessageTypeAdapter we are using an internal Gson type that is exported in Orbit's gson rebundling (as x-internal) but not in the manifest of the upstream gson.
|
import com.google.gson.internal.Primitives; |
This forces consumers of jsonrpc (within an OSGi runtime) to use the Orbit version.
In MessageTypeAdapter we are using an internal Gson type that is exported in Orbit's gson rebundling (as x-internal) but not in the manifest of the upstream gson.
lsp4j/org.eclipse.lsp4j.jsonrpc/src/main/java/org/eclipse/lsp4j/jsonrpc/json/adapters/MessageTypeAdapter.java
Line 46 in e32c63b
This forces consumers of jsonrpc (within an OSGi runtime) to use the Orbit version.