eclipse-lsp4j / lsp4j

A Java implementation of the language server protocol intended to be consumed by tools and language servers implemented in Java.
https://eclipse.org/lsp4j
Other
609 stars 144 forks source link

fix: SemanticTokens.getData() returns null for instances via default ctor #773

Closed sebthom closed 10 months ago

sebthom commented 10 months ago

SemanticTokens#getData() to returns null for instances created via default constructor which violates the @NonNull value API contract.

This PR is a root cause fix for https://github.com/eclipse/lsp4e/issues/861