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

Issue with "ExecutorService" is still not solved in SonarCloud #2899

Closed
c71n93 opened this issue Feb 27, 2024 · 0 comments · Fixed by #2900
Closed

Issue with "ExecutorService" is still not solved in SonarCloud #2899

c71n93 opened this issue Feb 27, 2024 · 0 comments · Fixed by #2900

Comments

@c71n93
Copy link
Member

c71n93 commented Feb 27, 2024

After merging #2884 the ExecutorService is properly shuts down. However, this issue still appears in SonarCloud.

The problem is, that in Java 8 (that we use) ExecutorService has no close method. Solution that Sonar analysis suggests works only since Java 19.

So the only solution is to use -Dsonar.java.source=1.8 (check documentation).

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 a pull request may close this issue.

1 participant