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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: