[jboss-jira] [JBoss JIRA] Commented: (JBRULES-615) Declared imports should override the default java.lang.* imports

Michael Anstis (JIRA) jira-events at jboss.com
Wed Jan 24 08:50:52 EST 2007


    [ http://jira.jboss.com/jira/browse/JBRULES-615?page=comments#action_12351513 ] 
            
Michael Anstis commented on JBRULES-615:
----------------------------------------

Thanks Edson,

Do I need to subscribe to any sign-off or testing or anything?

This was my first bug report to an extensively open source (as opposed
to work-related commercial) project! 

Thanks,

Mike



> 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