#1011604 reactive-streams: FTBFS with OpenJDK 17 due to unsupported javac source/target level 6

#1011604#5
Date:
2022-05-25 07:51:23 UTC
From:
To:
reactive-streams 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.


  :reactive-streams:compileJava
  Putting task artifact state for task ':reactive-streams:compileJava' into context took 0.002 secs.
  Up-to-date check for task ':reactive-streams:compileJava' took 0.024 secs. It is not up-to-date because:
    No history is available.
  All input files are considered out-of-date for incremental task ':reactive-streams:compileJava'.
  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.
  :reactive-streams:compileJava FAILED
  :reactive-streams:compileJava (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 0.204 secs.

#1011604#12
Date:
2022-05-31 14:47:42 UTC
From:
To:
close 1011604
thanks

The source/target level is now automatically adjusted by Gradle (since gradle/4.4.1-14)