Multiversion jar tool works incorrectly with anonymous classes having public methods.
If a class for e.g. JDK 7 has one anonymous class that implements e.g. Runnable interface and the same named class for JDK 8 has one anonymous class implementing e.g. java.util.concurrent.Callable interface, then anonymous class for JDK 8 is not put to the multiversion jar file.
Example with the code is attached ("Test14.zip").
If a class for e.g. JDK 7 has one anonymous class that implements e.g. Runnable interface and the same named class for JDK 8 has one anonymous class implementing e.g. java.util.concurrent.Callable interface, then anonymous class for JDK 8 is not put to the multiversion jar file.
Example with the code is attached ("Test14.zip").
- relates to
-
JDK-8047305 JEP 238: Multi-Release JAR Files
-
- Closed
-