Provide more information in message of NoSuchFieldException thrown by Class

XMLWordPrintable

      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 to JDK-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.


            Assignee:
            Daohan Qu
            Reporter:
            Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: