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

Make Boolean, Character, Byte, and Short implement Constable

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 15
    • None
    • core-libs
    • None
    • b22

    Description

      In the first round of making things Constable only the box types whose primitive had a native constant pool representation were made to implement Constable (Integer, Long, Float, and Double).

      Let's add support for the other wrapper types as well.

      This is for instance useful for APIs that take a Constable as input type, and want to supply for instance a boolean as an argument, without having to fall back to parsing "true" and "false" strings.

      Attachments

        Issue Links

          Activity

            People

              jvernee Jorn Vernee
              jvernee Jorn Vernee
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: