- ALM used: Bitbucket Cloud
- CI system used: Jenkins
- Steps to reproduce
We’re trying to move to SonarScanner based on JDK11 for a Java8 project.
We face multiple deprecation warnings about the code like this
The problem is that those methods are not deprecated in JDK1.8 (while they’re in JDK11).
How to correctly solve the issue?
Setting sonar.java.source explicitly = 1.8 didn’t help.