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

Incorrect format specifier in a HttpClient log message

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 22
    • None
    • core-libs
    • b08

      When the system property jdk.internal.httpclient.debug is set to true, the HttpClient implementation generates internal log messages. One of the log message has an incorrect format specifier which results in the following log message:

      > SelectorAttachment Registering %s for %d (%s)

      The %s, %d and %s are expected to be replaced with relevant values but because a String is being passed for the %d specifier, the conversion fails which results in the message being printed verbatim.

            jpai Jaikiran Pai
            jpai Jaikiran Pai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: