We built Okio 3.4.0 with Java 19 targeting Java 8....
# compiler
j
We built Okio 3.4.0 with Java 19 targeting Java 8. One of our
.class
files (source here) includes references to the nested classes its supertype, `Thread`:
Copy code
$ javap -v okio/AsyncTimeout\$Watchdog.class
...
InnerClasses:
  ...
  public static #96= #93 of #95;          // OfPlatform=class java/lang/Thread$Builder$OfPlatform of class java/lang/Thread$Builder
  public static #97= #95 of #4;           // Builder=class java/lang/Thread$Builder of class java/lang/Thread
  public static #100= #99 of #95;         // OfVirtual=class java/lang/Thread$Builder$OfVirtual of class java/lang/Thread$Builder
...
Unfortunately, this makes R8 or ProGuard unhappy:
Copy code
okio.AsyncTimeout$Watchdog: can't find referenced class java.lang.Thread$Builder$OfPlatform
okio.AsyncTimeout$Watchdog: can't find referenced class java.lang.Thread$Builder
okio.AsyncTimeout$Watchdog: can't find referenced class java.lang.Thread$Builder$OfVirtual
Why do my compiled class files know about the nested classes of their supertypes?
Tracking bug, including full javap output