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

X509Certificate.getExtendedKeyUsage() called directly in CertUtil !

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1 P1
    • 5.0
    • 5.0
    • deploy


      in com.sun.deploy.security.X509Util.java, the method getExtendedKeyUsage exists to warp the function 509Certificate.getExtendedKeyUsage() so that if called from jre previous to 1.4, the NoSuchMethodError can be caught, and the older method of getting the extended ley usage can be used.
      However, in com.sun.deploy.security.CertUtil, X509Certificate.getExtendedKeyUsage() is called directly, causing a NoSuchMethodError to be thrown when running under jre 1.3.0 or 1.3.1.

      As a result no signed applications are working when running j2se 1.3.

      see testcase at:
      http://cheran.india.sun.com:8080/JavawsNew/autodownload/JRE_Security_AutoDownload_13002.jnlp


      The javaw.exe process is running continuously as a result of this problem.

      ###@###.### 2004-06-09

            dgu Dennis Gu (Inactive)
            herrick Andy Herrick (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: