]
Michael Anstis moved GUVNOR-1097 to DROOLS-1718:
------------------------------------------------
Project: Drools (was: Guvnor)
Key: DROOLS-1718 (was: GUVNOR-1097)
Issue Type: Bug (was: Feature Request)
Workflow: GIT Pull Request workflow (was: classic default workflow)
Guided Editor: Accept hexadecimal values in rule LHS
----------------------------------------------------
Key: DROOLS-1718
URL:
https://issues.jboss.org/browse/DROOLS-1718
Project: Drools
Issue Type: Bug
Reporter: Uli Bubenheimer
Priority: Minor
It is not possible to use a hexadecimal value in the LHS of a rule.
The manual says: "All standard Java numeric primitives are supported." As
hexadecimal values are standard Java numeric primitives, this could be considered not just
a new feature, but a bug (documentation bug at least).
I found this issue first mentioned in the referenced user forum post from 2006; sadly,
the poster did not create a JIRA issue as suggested, or at least I could not find one.
Example:
rule "bla"
when
Value( tag == 0x00080060 ) // ERROR!
then
//something
end