Skip to content

Skip Equinox splash updates for JDT LS on macOS - #4576

Open
anyerqi wants to merge 1 commit into
redhat-developer:mainfrom
anyerqi:fix/macos-jdtls-nosplash
Open

anyerqi wants to merge 1 commit into
redhat-developer:mainfrom
anyerqi:fix/macos-jdtls-nosplash

Conversation

@anyerqi

@anyerqi anyerqi commented Nov 19, 2026 •

Copy link
Copy Markdown

Refs #4292, specifically the case where macOS marks the process as unresponsive while Java language requests still succeed.

What changes

Pass Equinox's -nosplash launcher argument on macOS for both the standard and syntax servers. Even when no splash window is configured, Equinox's startup monitor can still invoke updateSplash(). On macOS that calls the native event dispatcher, which calls [NSApplication sharedApplication] and registers a WindowServer connection for JDT LS. -nosplash skips that update path.

In the affected session, WindowServer reported connectionIsUnresponsive: 1 for the original process. The same PID still handled a new Java validation request in VS Code.

Verification

  • On Apple Silicon macOS 27.0.1 with the extension's bundled Temurin 25.0.5, both unpatched launch modes registered a WindowServer connection. With only -nosplash added, neither mode registered a connection during the observation window.
  • initialize and textDocument/documentSymbol passed for all four test launches. The standard mode used the Unix socket transport and syntax mode used stdio.
  • -Djava.awt.headless=true alone still produced a WindowServer connection in a separate control.
  • The extension compiled successfully and git diff --check passed.
  • Built the patched extension from this branch and ran it in isolated VS Code profiles. Standard mode delivered the expected Java syntax diagnostic. LightWeight mode returned a Java document symbol through the extension API. Both launches included -nosplash.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant