I had used SonarLint 3.6 without any problems with Eclipse Oxygen and Photon. The IDE ran under JDK 8. I now run Eclipse 2018-09 with JDK 11 and SonarLint doesn’t seem to work in this configuration anymore, i.e. there are no blue squiggly lines in code editors anymore. If I start the same Eclipse installation with JDK 8 again, SonarLint annotations are visible again.
Is this a compatibility problem with JDK 11 or did I miss something?
At least can you say if we build the latest code in the master branch if we could get support for Java 11 where the fixes from https://jira.sonarsource.com/browse/SLE-258 is present.
An RC or possible the official next release of SonarLint is coming very soon. Since you asked, here’s a nightly build you can try that is not guaranteed to be production ready:
Hello @Julien_HENRY Thanks for the update. Do you have an idea as to when the next release is or at least when we can get a nightly build?
EDIT as I’m not able to post more replies. @Julien_HENRY I’m not able to modify our SonarQube server. That’s my organization’s production server. Is there any way I can use this in standalone mode?
EDIT #2: Hello @Julien_HENRY Do you have a release date for SonarLint Eclipse 4.0? Or again, a nightly release that we can install?
Edit #3: Beautiful! That seems to be working. I haven’t tested it completely but I’m now seeing issues both on-the-fly as well as in the full report. Do you have a release date for the full release?
Now the problem here i have is not being able to analyze java 11 source code, but to run the analysis of a java 8 source code while running eclipse with java 11. So do we really need to sonar-java plugin update for this ?
Can we also patch the given sonar-java plugin for none connected mode ?
Our Java analyzer will always try to resolve JDK symbols using the runtime JDK (here it means the JDK used to run Eclipse) while it should in perfect world use only classpath libraries.
But I have a good news, the final release of SonarJava 5.8 is planned for today, so it means we’ll be able to update it before releasing SonarLint Eclipse 4.0.