Closed as program error.
Error Message: An error message similar to the following is received: Caused by: java.lang.ClassCastException: $Proxy6 incompatible with <SOME_INTERFACE> . Stack Trace: N/A .
This issue can be worked around by disabling the share classes cache with the following option: -Xshareclasses:none
When a proxy object is generated through the following method in java.lang.reflect.Proxy, newProxyInstance(ClassLoader loader, Class<?><OSB><CSB> interfaces, InvocationHandler h) the proxy class (for example $Proxy6) will be generated and improperly cached into the share classes cache. After the JVM is restarted, the proxy class ($Proxy6) will be loaded from the share classes cache to JVM runtime. It would cause a java.lang.ClassCastException if the same proxy class ($Proxy6) is cast to some other interface.
The JVM has been updated to prevent the improper caching information into the share classes cache. This defect will be fixed in: 5.0.0 SR12 FP4 5.0.0 SR13 6.0.0 SR10
Reported component name
JAVA 5 J9 COMMO
Reported component ID
Last modified date
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fixed component name
JAVA 5 J9 COMMO
Fixed component ID
Applicable component levels
Rate this page:
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.