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

Class.newInstance can throw undocumented exception

XMLWordPrintable

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: