-
Type:
Bug
-
Status: Closed
-
Priority:
Critical
-
Resolution: Done
-
Affects Version/s: jboss-fuse-6.2.1, jboss-fuse-6.3
-
Fix Version/s: jboss-fuse-6.3
-
Component/s: SwitchYard
-
Labels:None
-
Environment:
➜ default-fuse java -version\java version "1.8.0"Java(TM) SE Runtime Environment (build pxa6480sr2fp10-20160108_01(SR2 FP10))IBM J9 VM (build 2.8, JRE 1.8.0 Linux amd64-64 Compressed References 20160106_284759 (JIT enabled, AOT enabled)J9VM - R28_20160106_1341_B284759JIT - tr.r14.java_20151209_107110.02GC - R28_20160106_1341_B284759_CMPRSSJ9CL - 20160106_284759)JCL - 20151231_01 based on Oracle jdk8u71-b15➜ default-fuse java -version \java version "1.8.0" Java(TM) SE Runtime Environment (build pxa6480sr2fp10-20160108_01(SR2 FP10)) IBM J9 VM (build 2.8, JRE 1.8.0 Linux amd64-64 Compressed References 20160106_284759 (JIT enabled, AOT enabled) J9VM - R28_20160106_1341_B284759 JIT - tr.r14.java_20151209_107110.02 GC - R28_20160106_1341_B284759_CMPRSS J9CL - 20160106_284759) JCL - 20151231_01 based on Oracle jdk8u71-b15
-
Steps to Reproduce:
-
Sprint:Sprint 5 - towards ER2
Switchyard references does not work correctly with IBM java (both 7 and 8). When we invoke a method on a switchyard bean reference proxy object then an exception is thrown:
java.lang.ClassCastException: com.sun.proxy.$Proxy50 incompatible with java.lang.String
|
at org.jboss.weld.proxies.Greeting$1366014918$Proxy$_$$_WeldClientProxy.greet(Unknown Source)
|
at org.jboss.fuse.qa.DummyServiceImpl.invoke(DummyServiceImpl.java:17)
|
...
|