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

PIT testing: Multiversion jar tool works incorrectly with anonymous classes

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P2
    • Resolution: Fixed
    • 9
    • 9
    • tools
    • jar
    • generic
    • generic
    • Verified

    Description

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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: