Description of problem: When a static method with the same signature is declared by a class and its superclass Drools mistakenly invokes the one of the superclass even when it shouldn't. This happens only on IBM JDK. How reproducible: Run test Misc2Test.testJittingConstraintInvokingStaticMethod [1] on IBM JDK 6 or 7. Actual results: Test [1] fails. Expected results: Test [1] not fails. Additional info: This ticket is related to [2]. [1] https://github.com/droolsjbpm/drools/blob/6.2.x/drools-compiler/src/test/java/org/drools/compiler/integrationtests/Misc2Test.java#L5215 [2] https://bugzilla.redhat.com/show_bug.cgi?id=1057550
This issue has been fixed in mvel with this commit https://github.com/mvel/mvel/commit/053b19dfd7d5a293500eb1851da8da1b857bb28c The fix will be available on drools when a new release of mvel will be deployed.
Mario Fusco <mario.fusco> updated the status of jira DROOLS-803 to Resolved
Verified in 6.2.0.ER4.