[jboss-jira] [JBoss JIRA] (DROOLS-446) Literals may be ambiguously resolved as classes on case insensitive filesystems

Davide Sottara (JIRA) issues at jboss.org
Sun Mar 2 14:54:47 EST 2014


Davide Sottara created DROOLS-446:
-------------------------------------

             Summary: Literals may be ambiguously resolved as classes on case insensitive filesystems
                 Key: DROOLS-446
                 URL: https://issues.jboss.org/browse/DROOLS-446
             Project: Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 6.0.1.Final, 6.0.0.Final, 5.6.0.Final, 5.5.0.Final
            Reporter: Davide Sottara
            Assignee: Mark Proctor
             Fix For: 6.1.0.CR1


When a candidate class literal is analyzed, e.g. : 
{code}
declare Foo
  f1 : Bar = new Bar()
  f2 : boolean = false 
end
{code}

"Bar" is tentatively resolved (twice) and its f.q.n. is substituted as needed.
However, even "false" is tentatively resolved as well.

On a case insensitive filesytems, the presence of a class named False will cause the literal to be resolved erroneously.
The same will happen to "true" and "null"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list