IV20345: AN ABSTRACT CLASS DOES NOT INHERIT ALL ABSTRACT METHODS FROM ITS DIRECT SUPERINTERFACES.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Error Message: N/A
    .
    Stack Trace: N/A
    .
    On running Class.getMethods(), the returned array (containing
    public member methods of the class) has only one copy of the
    method, which had same signature and was present in multiple
    interfaces. The array of methods returned by Class.getMethods()
    contained following methods:
    1.wait
    2.wait
    3.wait
    4.equals
    5.toString
    6.hashCode
    7.getClass
    8.notify
    9.notifyAll
    10.method_M   << Only one copy of the method which was present
    in multiple interfaces.
    

Local fix

Problem summary

  • If there are two interfaces, both having a method with same
    signature (for example: m(java.lang.String)) and there is
    another abstract class, which implements the two interfaces,
    then, on using "getMethods()" for retrieving all public member
    methods of the abstract class, only one copy of method "m" is
    returned.
    

Problem conclusion

  • This defect will be fixed in:
    5.0.0 SR14
    6.0.0 SR11
    6.0.1 SR2
    7.0.0 SR1
    .
    The JVM has been updated and a class now inherits all the
    abstract methods from its direct superinterfaces.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV20345

  • Reported component name

    JAVA 5 J9 COMMO

  • Reported component ID

    620500127

  • Reported release

    500

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-04-30

  • Closed date

    2012-05-02

  • Last modified date

    2012-05-02

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

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

    IV20397

Fix information

  • Fixed component name

    JAVA 5 J9 COMMO

  • Fixed component ID

    620500127

Applicable component levels

  • R500 PSY

       UP



Rate this page:

(0 users)Average rating

Document information


More support for:

Runtimes for Java Technology
Virtual Machine

Software version:

5.0

Reference #:

IV20345

Modified date:

2012-05-02

Translate my page

Machine Translation

Content navigation