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

Constant pool entries for arrays

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Other
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: specification
    • Labels:

      Description

      The bytecode we generate to initialize an array filled with constants
      is very verbose. It could be simplified considerably if there
      were a way to express a constant array in the constant pool.
      It would be best if there were a way to express such arrays
      containing primitive types, constant Strings, and null.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                abuckley Alex Buckley
                Reporter:
                abuckley Alex Buckley
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: