-
Enhancement
-
Resolution: Fixed
-
P4
-
5.0
-
None
-
b07
-
generic
-
generic
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.
string -> java.lang.Class
mapping which returned the Class objects for the primitive types. For example "int" -> int.class.
- csr for
-
JDK-8312110 (reflect) provide method for mapping strings to class object for primitive types
-
- Closed
-
- relates to
-
JDK-8310267 Javadoc for Class#isPrimitive() is incorrect regarding Class objects for primitives
-
- Resolved
-
-
JDK-6176992 (reflect) Add support to java.lang.Class for wrapper type conversions
-
- Open
-
-
JDK-4207220 Add getPrimitiveClass() and getWrapperClass() methods to java.lang.Class.
-
- Closed
-
- links to
-
Commit openjdk/jdk/19691fab
-
Review(master) openjdk/jdk/14743
(1 links to)