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

Class.newInstance can throw undocumented exception

    XMLWordPrintable

    Details

      Description

      Class.newInstance() may throw a java.lang.IllegalAccessError
      exception if it encounters an unimplemented interface. See
      ResolveInterfaces() which is called during the newInstance()
      call.

      newInstance() is documented as possibly throwing two exceptions
      neither of which is java.lang.IllegalAccessError.

        Attachments

          Activity

            People

            Assignee:
            apalanissunw Anand Palaniswamy (Inactive)
            Reporter:
            duke J. Duke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: