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

Implement extra logging and/or propagate errors in X509KeyManagerImpl and fix StringIndexOutOfBoundsException

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • 26
    • 25
    • security-libs
    • None

      In JDK-8309667, there were issues with debugging due to no logging or throwing of errors by X509KeyManagerImpl::getEntry. [Line](https://github.com/openjdk/jdk/blob/6a4c2676a6378f573bd58d1bc32b57765d756291/src/java.base/share/classes/sun/security/ssl/X509KeyManagerImpl.java#L243-L245)

      Extra logging and error propagating should be implemented for the X509KeyManagerImpl.

      Dot checking logic has to be changed, so no cases similar to .A should not trigger StringOutOfBounds exceptions.

            myankelevich Mikhail Yankelevich
            myankelevich Mikhail Yankelevich
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: