[jboss-jira] [JBoss JIRA] Commented: (JBRULES-615) Declared imports should override the default java.lang.* imports
Edson Tirelli (JIRA)
jira-events at jboss.com
Wed Jan 24 09:09:52 EST 2007
[ http://jira.jboss.com/jira/browse/JBRULES-615?page=comments#action_12351514 ]
Edson Tirelli commented on JBRULES-615:
---------------------------------------
Hi Michael,
Nothing formal. Just checkout the code and test if your problem is
solved. If it is not solved, reopen the issue. If it is solved, just add
a comment to the issue for us to know.
[]s
Edson
--
Edson Tirelli
Software Engineer - JBoss Rules Core Developer
Office: +55 11 3124-6000
Mobile: +55 11 9218-4151
JBoss, a division of Red Hat @ www.jboss.com
> Declared imports should override the default java.lang.* imports
> ----------------------------------------------------------------
>
> Key: JBRULES-615
> URL: http://jira.jboss.com/jira/browse/JBRULES-615
> Project: JBoss Rules
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.0.5
> Environment: MS Windows XP SP2
> Reporter: Michael Anstis
> Assigned To: Edson Tirelli
> Priority: Minor
> Fix For: 3.0.6, 3.1-m1
>
>
> The use of a java.lang.* Class in the LHS of a rule causes Exception in thread "XXX" java.lang.Error: Unable to find unambiguously defined class 'XXX' errors when rules are loaded for parsing. Workaround is to use fully qualified Class name in LHS. For example:-
> package some.rules
> import a.package.name.Process
> rule "A rule"
> when
> p:Process( )
> then
> System.out.println(p.toString());
> end
> JIRA raised at the request of Mark Proctor:-
> From: rules-users-bounces at lists.jboss.org
> [mailto:rules-users-bounces at lists.jboss.org] On Behalf Of Mark Proctor
> Sent: 20 January 2007 13:50
> To: Rules Users List
> Subject: Re: [rules-users] Exception in thread "main" java.lang.Error:
> Unableto find unambiguously defined class
> Actually this is also a bug, if you declare something as an import, it
> should override the default java.lang.* imports - can you open a JIRA
> for this bug.
> Thanks
> Mark
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list