Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8073962

PIT testing: Multiversion jar tool works incorrectly with anonymous classes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 9
    • 9
    • tools
    • jar
    • generic
    • generic
    • Verified

      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").

            sdrach Steve Drach (Inactive)
            kshefov Konstantin Shefov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: