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

DCmdArgument<jlong>::parse_value() should handle NULL input

    XMLWordPrintable

    Details

    • Subcomponent:
      svc
    • Resolved In Build:
      b08

      Backports

        Description

        Sonarcloud told me that in `DCmdArgument<jlong>::parse_value()`, we explicitly handle NULL input strings for the parse value, then print it out as part of the assembled exception message.

        I don't think this can ever happen IRL, it is theoretical only. But we should fix it nevertheless. It also can be simplified, I don't think the temporary string copy is needed.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                stuefe Thomas Stuefe
                Reporter:
                stuefe Thomas Stuefe
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: