MethodHandles.catchException doesn't handle VarargsCollector right

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 8u20, 9
    • Component/s: core-libs
    • None
    • b04
    • Fix failed

        catchException does unnecessary boxing of trailing array for VarargsCollector.

        Attached test case (CatchException.java) demonstrates that target returns Object[] { "str"}, but MethodHandles.catchException(target,...) returns Object[][] {{ "str" }}

              Assignee:
              Vladimir Ivanov
              Reporter:
              Vladimir Ivanov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: