IBM Support

PM52310: COM.IBM.JZOS.PDSDIRECTORY.ITERATOR() RETURNS INCORRECT OBJECT TYPE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In Java 5 and Java 6, the method
    com.ibm.jzos.PdsDirectory.iterator() returns a
    java.util.Iterator object.
    
    In Java 6.0.1 and Java 7, the same method incorrectly returns a
    com.ibm.jzos.PdsDirectory.Iterator object, which is a subclass
    of java.util.Iterator.
    

Local fix

  • Recompile the application at the affected level of Java 6.0.1
    and/or Java 7, no application changes necessary.
    
    NOTE: An additional recompile will be needed when migrating to a
    release of Java 6.0.1 or Java 7 that contains the fix.
    

Problem summary

  • Applications compiled with Java 5 or Java 6 may see the
    following error when run on Java 6.0.1 or Java 7:
    java.lang.NoSuchMethodError:
    com/ibm/jzos/PdsDirectory.iterator()Ljava/util/Iterator;
    

Problem conclusion

  • This defect will be fixed in:
    7.0.0 SR1 (z/OS 31-bit)
    .
    JZOS has been updated so that applications compiled with Java 5
    or Java 6 will not encounter:
    java.lang.NoSuchMethodError:
    com/ibm/jzos/PdsDirectory.iterator()Ljava/util/Iterator;
    when running on a release of Java 6.0.1 or java 7 that contains
    the fix.
    .
    To obtain the fix:
    Install build 20111117 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM52310

  • Reported component name

    JAVA Z/OS 31

  • Reported component ID

    620700105

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-11-15

  • Closed date

    2011-11-16

  • Last modified date

    2011-11-21

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

  • Fixed component ID

    620700105

Applicable component levels

  • R700PSYUP

       

[{"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":"700","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":"700","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
09 August 2022