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

VM anonymous class members can't be statically invocable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b20
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      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

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: