Status Update
Comments
hu...@google.com <hu...@google.com> #2
(Updated the bug title to make it clearer that this is about targeting bytecode 17 when compiling AGP, not the users' code.)
je...@google.com <je...@google.com> #3
Hung, I am removing the blocking C1 tag but we should not do this in a late Canary, do you think you can do this in the next few weeks ?
ga...@google.com <ga...@google.com> #4
ga...@google.com <ga...@google.com>
gh...@google.com <gh...@google.com> #6
This appears to break google3 because it changes the JVM target for modules like ddmlib
to 17, and google3 still uses JDK 11. See
hu...@google.com <hu...@google.com> #7
Starting with AGP 8.2.0-alpha03, AGP was compiled to Java 17 (
However, we had to revert this change (see
Starting with AGP 8.2.0-alpha08, AGP will be compiled to Java 11 again (
We can retry compiling to Java 17 at a later time.
ju...@google.com <ju...@google.com> #8
Removed from H Beta blockers list.
cm...@google.com <cm...@google.com> #9
This was reverted back to 11, except for lint
pa...@gmail.com <pa...@gmail.com> #10
Note that this change (as described in #1) also forces all Gradle plugin authors that depend on AGP to target Java 17 as well, even if their feature set only "supports Android" (among other things).
Example: Kotlin Gradle Plugin which depends on AGP, but also the same plugin hosts JS, Native, etc. plugins which have the Gradle minimum Java target of Java 8.
There is a workaround, but it's very hacky. If anyone is interested, I commented out the code here:
hu...@google.com <hu...@google.com> #11
We'll revisit this issue in a future release, so decreasing priority.
Description