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

MethodHandles.catchException doesn't handle VarargsCollector right (8034120 failed)

XMLWordPrintable

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

        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" }}

              vlivanov Vladimir Ivanov
              vlivanov Vladimir Ivanov
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: