MethodHandles.catchException does not enforce Throwable subtype

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: core-libs

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

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

              Created:
              Updated:
              Resolved: