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

MethodHandles.catchException does not enforce Throwable subtype

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • core-libs

      Unlike MethodHandles.throwException, no check is performed in catchException whether the exType argument is indeed an instance of a subclass of Throwable.

            mhaupt Michael Haupt
            mhaupt Michael Haupt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: