Bug 1293587 - Error jitting a compareTo constraint
Summary: Error jitting a compareTo constraint
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: BRE
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: DR1
: 6.3.0
Assignee: Mario Fusco
QA Contact: Marek Winkler
URL:
Whiteboard:
Depends On:
Blocks: 1294424
TreeView+ depends on / blocked
 
Reported: 2015-12-22 09:48 UTC by Anton Giertli
Modified: 2020-03-27 19:02 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1294424 (view as bug list)
Environment:
Last Closed: 2020-03-27 19:02:03 UTC
Type: Bug


Attachments (Terms of Use)
[0] reproducer (5.24 KB, application/zip)
2015-12-22 09:48 UTC, Anton Giertli
no flags Details

Description Anton Giertli 2015-12-22 09:48:48 UTC
Created attachment 1108600 [details]
[0] reproducer

Description of problem:

Since this issue was reported by a customer, I have created bugzilla which covers this JIRA
https://issues.jboss.org/browse/DROOLS-1013.

When the implementation of the Comparable interface is not directly declared by a Class, but the Class implements another interface that transitively extends Comparable the jitting of a constraint doing a compareTo on that class fails with the following exception:

Version-Release number of selected component (if applicable):

BRMS 6.2.0
How reproducible:

always
Steps to Reproduce:
1. Run the reproducer
2.
3.

Actual results:

Reproducer fails with methodnotfound error
Expected results:
Reproducer does not fail

Additional info:

Comment 1 Anton Giertli 2015-12-22 09:50:05 UTC
This is not the same issue as reported in here
https://bugzilla.redhat.com/show_bug.cgi?id=1233976

the reproducer attached in here, fails when using 6.2.0

There is one workaround available - disable jitting.
System.setProperty("drools.jittingThreshold", "-1");


This workaround is only applicable on 6.2.0 and not for previous versions.

Comment 5 Marek Winkler 2016-03-18 14:26:39 UTC
Verified in BRMS 6.3.0.ER1.


Note You need to log in before you can comment on or make changes to this bug.