Bugs item #681795, was opened at 2003-02-06 17:28
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=681795&group_id=22866

Category: JBossMQ
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Vaughn T. Combs (vaughnt)
Assigned to: Nobody/Anonymous (nobody)
Summary:  Bug in message selector evaluation  

Initial Comment:
 I believe that I have found a bug in
org.jboss.mq.selectors.Operator.

In the methods lt() and le() you are, I believe,
erroneously testing the second argument. Rather than !=
I believe that it should be ==.

This truncates the second argument inappropriately when
it is a double.

I have attached a test run demonstrating the bug and
the effect of the patch.

Also, obviously, I have attached a patched version of
Operator.java.

I have checked the source for the most recent
distribution v3.0.6 and it seems to be there as well.

The interesting lines are 373, 376, 384, 387, 409, 412,
420, and 423 in Operator.java

Take Care,
Vaughn

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=681795&group_id=22866


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to