Just FYI - we hit similar issue getting ClassCastException on a Weld ClientProxy (cf.
ENTESB-4390
) on IBM JDK7, which could be get around with a JVM option:
I found this option in following old bug ticket for IBM JDK. The article says the issue had been fixed in 6.0.0 SR10, but it seems the shareclasses stuff is still doing something bad on IBM JDK7. http://www-01.ibm.com/support/docview.wss?uid=swg1IZ94639
|