-
Enhancement
-
Resolution: Unresolved
-
P4
-
20.0.1
-
generic
-
generic
A DESCRIPTION OF THE PROBLEM :
A java.lang.NoSuchFieldException is thrown when you are reflectively trying to get a field. The message currently only contains the field's name.
Similar toJDK-8298065 I propose that the Methods java.lang.Class#getField and java.lang.Class#getDeclaredField are updated in a way so the NoSuchFieldException's message includes the Class name.
A java.lang.NoSuchFieldException is thrown when you are reflectively trying to get a field. The message currently only contains the field's name.
Similar to
- relates to
-
JDK-8298065 Provide more information in message of NoSuchFieldError
-
- Resolved
-
- links to
-
Review openjdk/jdk/14624