PIT testing: Multiversion jar tool works incorrectly with anonymous classes

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 9
    • Affects Version/s: 9
    • Component/s: 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").

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

              Created:
              Updated:
              Resolved: