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

GenerateJLIClassesPlugin can generate invalid DirectMethodHandle methods

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 11, 13, 14
    • Fix Version/s: 14
    • Component/s: core-libs
    • Labels:
      None

      Description

      Current pluging generates a invokeVirtual DMH with the L_L shape, which is invalid. The issue is benign, since any such invalid shape will never be picked up at run-time, but we should probably put a check in place to disallow such code to be generated.

        Attachments

          Activity

            People

            Assignee:
            redestad Claes Redestad
            Reporter:
            redestad Claes Redestad
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: