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

[lworld] Support empty inline classes without -XDallowEmptyValues

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • repo-valhalla
    • repo-valhalla
    • tools

      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.

            sadayapalam Srikanth Adayapalam (Inactive)
            dlsmith Dan Smith
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: