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

jdb returns invalid argument count if first parameter to Arrays.asList is null

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8u92, 9
    • Fix Version/s: 9
    • Component/s: core-svc
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b150

      Backports

        Description

        @
        On 8u92, jdb eval returns "Invalid argument count: expected 1, received 2"
        with Arrays.asList(null, "a") though this line of code runs fine.
        @
        @

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                sspitsyn Serguei Spitsyn
                Reporter:
                shadowbug Shadow Bug
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: