Is it possible compilation and unit test cases run under java 11 but SQ serever run under java 17

Is it normal that Compilation and Unit Tests runs under Java 11, but Sonar step executed under Java 17?
The question is related to all Java build in Cobalt, and actually to all java builds that uses Sonar Prod instance

Hi,

Welcome to the community!

Normal? Who knows (altho probably not). Acceptable? Sure.

You can build (and test) with or to any version you like, as long as you analyze with Java 17.

 
HTH,
Ann

Thank you