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

VM anonymous class members can't be statically invocable

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 9
    • 9
    • core-libs
    • b20
    • generic
    • generic
    • Verified

    Backports

      Description

        j.l.i.InvokerBytecodeGenerator::isStaticallyInvocable doesn't check whether the member name refers to VM anonymous class. But it should - VM anonymous class can't be looked up by name and it's members aren't statically invocable.

        Attachments

          Issue Links

            Activity

              People

                vlivanov Vladimir Ivanov
                vlivanov Vladimir Ivanov
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: