[Android-tools-devel] Bug#1011617: android-platform-external-jsilver: FTBFS with OpenJDK 17 due to unsupported javac source/target level 6

Emmanuel Bourg ebourg at apache.org
Wed May 25 11:56:57 BST 2022


Source: android-platform-external-jsilver
Version: 10.0.0+r36-1
Severity: important
Tags: ftbfs sid bookworm
User: debian-java at lists.debian.org
Usertags: default-java17


android-platform-external-jsilver 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.


  :compileJava
  Putting task artifact state for task ':compileJava' into context took 0.0 secs.
          Loading the Maven rules...
          Passing through com.google.guava:guava:jar:debian
          Passing through com.google.guava:guava-parent:jar:debian
          Passing through org.jsr-305:jsr305:jar:0.x
  Up-to-date check for task ':compileJava' took 0.563 secs. It is not up-to-date because:
    No history is available.
  All input files are considered out-of-date for incremental task ':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.
  :compileJava FAILED
  :compileJava (Thread[Task worker for ':' Thread 4,5,main]) completed. Took 0.791 secs.



More information about the Android-tools-devel mailing list