-
Bug
-
Resolution: Duplicate
-
P2
-
14
-
None
The changes in JDK 14 via JDK-8212117 to align Class.forName with its specification may need follow on work in the core reflection code that obtains the Type of a field with parameterized type.
The sighting on core-libs-dev is here:
https://mail.openjdk.java.net/pipermail/core-libs-dev/2019-October/062747.html
In the example, Service can be loaded but not linked. It may be that makeNamedType needs to catch NoClassDefFoundError so that TypeNotPresentException can be thrown.
The sighting on core-libs-dev is here:
https://mail.openjdk.java.net/pipermail/core-libs-dev/2019-October/062747.html
In the example, Service can be loaded but not linked. It may be that makeNamedType needs to catch NoClassDefFoundError so that TypeNotPresentException can be thrown.
- duplicates
-
JDK-8233091 Backout JDK-8212117: Class.forName loads a class but not linked if class is not initialized
-
- Resolved
-
- relates to
-
JDK-8212117 Class.forName may return a reference to a loaded but not linked Class
-
- Resolved
-
Field::getGenericType triggers loading and linking that may fail with LinkageError
-
Bug
-
Resolution: Duplicate
-
P2
-
14
-
None
The changes in JDK 14 via JDK-8212117 to align Class.forName with its specification may need follow on work in the core reflection code that obtains the Type of a field with parameterized type.
The sighting on core-libs-dev is here:
https://mail.openjdk.java.net/pipermail/core-libs-dev/2019-October/062747.html
In the example, Service can be loaded but not linked. It may be that makeNamedType needs to catch NoClassDefFoundError so that TypeNotPresentException can be thrown.
The sighting on core-libs-dev is here:
https://mail.openjdk.java.net/pipermail/core-libs-dev/2019-October/062747.html
In the example, Service can be loaded but not linked. It may be that makeNamedType needs to catch NoClassDefFoundError so that TypeNotPresentException can be thrown.
- duplicates
-
JDK-8233091 Backout JDK-8212117: Class.forName loads a class but not linked if class is not initialized
-
- Resolved
-
- relates to
-
JDK-8212117 Class.forName may return a reference to a loaded but not linked Class
-
- Resolved
-