fwcd / kotlin-language-server

Kotlin code completion, diagnostics and more for any editor/IDE using the Language Server Protocol
MIT License
1.62k stars 203 forks source link

Fix cached source jar paths #505

Closed fwcd closed 11 months ago

fwcd commented 11 months ago

Fixes #470

This fixes an issue where null external source jar paths would have incorrectly been ingested into the database as the string "null" and break the definition lookup. See https://github.com/fwcd/kotlin-language-server/issues/470#issuecomment-1745548550 for detailed discussion.

Additionally it bumps the database version to make sure that users' databases get rebuilt with the correct paths.