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

(reflect) provide method for mapping strings to class object for primitive types

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 22
    • 5.0
    • core-libs
    • None

      For certain reflective programming tasks, it would be helpful to have a

      string -> java.lang.Class

      mapping which returned the Class objects for the primitive types. For example "int" -> int.class.

            darcy Joe Darcy
            darcy Joe Darcy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: