Hide Forgot
Created attachment 1113627 [details] Strack trace Description of problem: Drools compiler throws wrong class format exception in Fuse 6.2.1 under Java 1.8. See stack trace. It is possible to compile the same project under Java 1.7. Version-Release number of selected component (if applicable): Product version - BxMS 6.2.0.GA (build 6.3.0.Final-redhat-5) Integration package for BxMS 6.2.0 and Fuse 6.2.1 (build 1.3.0.redhat-002) Fuse - version 6.2.1 How reproducible: Run "fuse-bxms-jbpm-workitems-camel-quickstart" from integration package under Fuse 6.2.1 and Java 1.8 (openjdk). 1. Add Maven repositories to <FUSE_DIR>/etc/org.ops4j.pax.url.mvn.cfg: - http://download.lab.bos.redhat.com/brewroot/repos/jb-bxms-6.2-build/latest/maven@id=product - http://download.lab.bos.redhat.com/brewroot/repos/jb-bxms-6.2-build/latest/maven@id=intpack 2. run following commands in Fuse: $ features:addurl mvn:org.drools/drools-karaf-features/6.3.0.Final-redhat-5/xml/features $ features:addurl mvn:org.jboss.integration.fuse/karaf-features/1.3.0.redhat-002/xml/features $ features:addurl mvn:org.jboss.integration.fuse.quickstarts/karaf-features/1.3.0.redhat-002/xml/features $ features:install fuse-bxms-jbpm-workitems-camel-quickstart Actual results: Quickstart installation will fail with attached stack trace. Expected results: Quickstart should run successfully.
I can reproduce the same exception with Oracle JDK 8.
This has been fixed on master. If we need to backport this to product 6.2.x, please create new BZ for that. Commit: https://github.com/droolsjbpm/drools/commit/85a9a7991 Note that the current fix is more like workaround. We should be able to properly fix this once the ECJ bundles correctly export the package versions.
Verified using BxMS 6.3.0.ER1 and integration package build 1.4.0.redhat-001. fuse-bxms-jbpm-workitems-camel-quickstart started successfully under OpenJDK 1.8.