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

PIT testing: Multiversion jar tool works incorrectly with anonymous classes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: tools
    • Labels:
    • Subcomponent:
      jar
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      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

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

                Dates

                Created:
                Updated:
                Resolved: