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:
Fix information
Fixed component name
JAVA 5 J9 COMMO
Fixed component ID
620500127
Applicable component levels
R500 PSY
UP
Rate this page:
Average rating
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.