Repository navigation
Conversation
The tests downloaded ltex-ls-plus 18.4.0, which bundles LanguageTool 6.5. Java 24 lowered jdk.xml.totalEntitySizeLimit from 50,000,000 to 100,000 (JDK-8343004), and under that limit LanguageTool 6.5 cannot load its English grammar rules. With JAVA_HOME on Java 24 or later, the server therefore crashed on start, and the tests waited for it forever. LanguageTool 6.6, bundled since ltex-ls-plus 18.5.0, lifts the limit for its own rule files (ltex-plus/ltex-ls-plus#79). Test against ltex-ls-plus 19.0.0, the current release, instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Mv4cZ3LFVAJ9aG5SntwnAr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
mvn verifyhangs inLspCliLauncherTestwhenJAVA_HOMEpoints to Java 24 or later.Cause
The tests download ltex-ls-plus 18.4.0, which bundles LanguageTool 6.5. Java 24 lowered
jdk.xml.totalEntitySizeLimitfrom 50,000,000 to 100,000 (JDK-8343004), and under that limit LanguageTool 6.5 can't load its English grammar rules, so the server crashes on start. LanguageTool 6.6, bundled since ltex-ls-plus 18.5.0, lifts the limit for its own rule files (ltex-plus/ltex-ls-plus#79). The tests then hang instead of failing because the client doesn't notice that the server has exited, which is #69.Fix
TestTools.LTEXLSPLUSVERSIONgoes from 18.4.0 to 19.0.0, the current release. No expectation changes: the exit codes of all 8LspCliLauncherTestcases hold with 19.0.0. There's no changelog entry, aschangelog.xmllists no test-only changes.Testing
mvn verifypasses on JDK 21 (15 tests), and twice on JDK 25, with no hang.Drafted by Claude Opus 5.5 (
claude-opus-5-5); reviewed by @regulad.https://claude.ai/code/session_01Mv4cZ3LFVAJ9aG5SntwnAr