]
Lukáš Petrovický updated DROOLS-742:
------------------------------------
Labels: reported-by-qe (was: )
DecisionTableXLSToDecisionTableGuidedConverterTest fails on jdk8
----------------------------------------------------------------
Key: DROOLS-742
URL:
https://issues.jboss.org/browse/DROOLS-742
Project: Drools
Issue Type: Bug
Components: decision tables
Affects Versions: 6.2.0.Final
Reporter: Tibor Zimányi
Assignee: Michael Anstis
Priority: Minor
Labels: reported-by-qe
Failing test is from drools-wb repo.
Test methods testConditions() and testConditionsIndexedParameters() fails on jdk8.
XLS files used in these methods contain multiple parameters column (column with more
parameters than one). When XLS is parsed, these parameters are transformed into child
columns of BRLConditionColumn. In ParameterUtilities class is method extractTemplateKeys.
This method extracts params from preprocessed original string from XLS table cell
containing parameters. But because the method uses HashSet as return value, the ordering
of parameters cannot be determined (in HashSet, the order of items can be different than
the order in which the items were inserted).