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

[lworld] Support empty inline classes without -XDallowEmptyValues

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: repo-valhalla
    • Fix Version/s: repo-valhalla
    • Component/s: tools
    • Labels:

      Description

      Attempting to declare an inline class with no instance fields causes an error:

      Inline types with zero instance size are not supported yet

      The '-XDallowEmptyValues' argument suppresses this error check.

      Hotspot can now handle empty inline classes, and this error check can be removed without needing any command-line flags.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sadayapalam Srikanth Adayapalam
              Reporter:
              dlsmith Dan Smith
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: