IBM Support

PM43599: SIGNATURE.GETPARAMETERS() THROWS UNSUPPORTEDOPERATIONEXCEPTION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Applications which call java/security/Signature.getParameters()
    will always get a java/lang/UnsupportedOperationException with
    the following stacktrace:
    
    java.lang.UnsupportedOperationException
    at java.security.SignatureSpi.engineGetParameters
    at java.security.Signature.getParameters
    
    At Java 6.0 and above.
    
    java/security/Signature should be calling the SignatureSpi
    Implementation provided by the relevant Security Provider in
    use.
    However, Signature is actually making the call directly to the
    Abstract Superclass: java/security/SignatureSpi and not the
    implementation.
    
    This APAR is related to APAR IZ67447 which corrected the same
    problem for the singular functions getParameter and
    setParameter
    

Local fix

  • Java 5.0 and below is not affected by this problem.
    
    The solution for this issue will be to call
    engineGetParameters() on the loaded SPI implementation.
    
    Contact Java Level 2 for an interim fix.
    

Problem summary

  • The problem is caused when an implmented
    Signature.getParameters() method is called, which will directly
    call setParameter of interface Signature to throw an
    java.lang.UnsupportedOperationException
    

Problem conclusion

  • This defect will be fixed in:
    6.0.1 SR1
    6.0.0 SR10
    .
    SignatureImpl.getParameters() method has been added to correct
    this.
    .
    To obtain the fix:
    Install build 20110813 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM43599

  • Reported component name

    JAVA 6 Z/OS 31

  • Reported component ID

    620700105

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-07-12

  • Closed date

    2011-08-14

  • Last modified date

    2011-08-14

  • 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 6 Z/OS 31

  • Fixed component ID

    620700105

Applicable component levels

  • R600 PSY

       UP

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"LOB16","label":"Mainframe HW"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
09 August 2022