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

Security Debug doesn't print additional information like thread, timestamp when appended to any option

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 25
    • security-libs
    • None

      While parsing an option string in debug to determine if extra details like thread and timestamp, should be printed, it doesn't print the additional information as expected.

      For Eg :
      -Djava.security.debug=certpath:ocsp,verbose+timestamp gets broken into certpath:ocsp and verbose+timestamp and doesn't print the timestamp information as expected and the +timestamp modifier is not applied to the certpath option.

      Code in question :
      https://github.com/openjdk/jdk/blob/940aa7c4cf1bf770690660c8bb21fb3ddc5186e4/src/java.base/share/classes/sun/security/util/Debug.java#L192

            kthirupattur Koushik Muthukrishnan Thirupattur
            kthirupattur Koushik Muthukrishnan Thirupattur
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: