IBM Support

IV50657: MESSAGEDIGEST SPECIFIC TEST FROM JTREG FAILS IN JDK6

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: esting CertStore.getInstance()...
    Testing failover...
    Exception in thread "main"
    java.security.NoSuchAlgorithmException: Error constructing
    implementation (MessageDigest, bar)
            at
    java.security.Provider$Service.newInstance(Provider.java:884)
            at
    org.apache.harmony.security.fortress.Engine.getInstance(Engine.j
    ava:144)
            at
    java.security.MessageDigest.getInstance(MessageDigest.java:70)
            at GetInstance.main(GetInstance.java:67)
    .
    Stack Trace: N/A
    .
    N/A
    

Local fix

  • N/A
    

Problem summary

  • The test case in this defect exposes several different behaviors
    between Oracle code and IBM JDK harmony code.
    1. Harmony code does not check if the Spi class is really a
    subclass of XXXSpi.
    2. Oracle checks if a SignatureSpi implementation is a realy Spi
    (faluse if it extends from Signature rather than SignatureSpi)
    3. Oracle Signature.getInstance return the SignatureImpl itself
    if the spi Impl is not a SignatureSpi (same check as 2) but a
    Signature
    

Problem conclusion

  • This defect will be fixed in:
    6.0.1 SR7
    6.0.0 SR15
    .
    Patch makes Harmony implementation match Oracle's behavior
    

Temporary fix

  • N/A
    

Comments

APAR Information

  • APAR number

    IV50657

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-10-09

  • Closed date

    2013-10-09

  • Last modified date

    2013-10-25

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    JAVA CLASS LIBS

  • Fixed component ID

    620700130

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
21 February 2022