#1011553 perfmark-java: FTBFS with OpenJDK 17 due to unsupported javac source/target level 6 #1011553
- Package:
- src:perfmark-java
- Source:
- perfmark-java
- Submitter:
- Emmanuel Bourg
- Date:
- 2022-05-31 17:30:03 UTC
- Severity:
- important
- Tags:
perfmark-java fails to build with OpenJDK 17 because it invokes javac with the source/target options set to 6. Since OpenJDK 12 the minimum version supported is 7. Compiling with JDK Java compiler API. error: Source option 6 is no longer supported. Use 7 or later. error: Target option 6 is no longer supported. Use 7 or later. :perfmark-api:compileJava FAILED :perfmark-api:compileJava (Thread[Task worker for ':' Thread 4,5,main]) completed. Took 0.411 secs.
close 1011553 thanks The source/target level is now automatically adjusted by Gradle (since gradle/4.4.1-14)