Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set null analysis interactive by default #2314

Merged
merged 2 commits into from
Nov 15, 2022

Conversation

CsCherrYY
Copy link
Contributor

Signed-off-by: Shi Chen chenshi@microsoft.com

related to redhat-developer/vscode-java#2790

Since the deadlock issue has been addressed via eclipse/buildship@2d10573, we can get the new buildship snapshot without deadlock, so we can set interactive by default now.

Signed-off-by: Shi Chen <chenshi@microsoft.com>
@@ -213,9 +213,6 @@ public void triggerInitialization(Collection<IPath> roots) {
JavaLanguageServerPlugin.logInfo("ProjectRegistryRefreshJob finished " + (System.currentTimeMillis() - start) + "ms");
// load gradle plugin https://github.com/redhat-developer/vscode-java/issues/2088
startBundle(CorePlugin.PLUGIN_ID);
start = System.currentTimeMillis();
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found the wait part comes from #1874, since the LoadingGradleVersionJob will be no longer conflicting via eclipse/buildship@2d10573, @snjeza can we move this part? Or am I missing something here? It would be great if there is a way to test this.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@CsCherrYY I think we can. I can't reproduce the issue described at redhat-developer/vscode-java#2088 (comment) with your patch.
I'm not sure how to create a test for it. The issue happened randomly when Java LS tarted.

Signed-off-by: Shi Chen <chenshi@microsoft.com>
@CsCherrYY CsCherrYY marked this pull request as ready for review November 10, 2022 08:51
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.

None yet

3 participants