You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by bu...@apache.org on 2007/07/02 10:45:50 UTC

DO NOT REPLY [Bug 42790] New: - PropertyName equals() fails when using object reference comparison

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42790>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42790

           Summary: PropertyName equals() fails when using object reference
                    comparison
           Product: Slide
           Version: Nightly
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Core
        AssignedTo: slide-dev@jakarta.apache.org
        ReportedBy: mkalen@apache.org


PropertyName equals() using the optimized == comparision of intern():ed String
references fails to comply with the desired definition of equals, eg when using
JNDIPrincipalStore.

SVN r429274 introduces this regression.

Previous PropertyName equals() method using String.equals() works as intended.

Suggest either reverting r429274, reviewing PropertyName .intern() usage
altogether or applying attached patch.

See also
http://mail-archives.apache.org/mod_mbox/jakarta-slide-dev/200706.mbox/%3c4682B978.5090607@apache.org%3e

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 42790] - PropertyName equals() fails when using object reference comparison

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42790>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42790





------- Additional Comments From mkalen@apache.org  2007-07-02 01:46 -------
Created an attachment (id=20426)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20426&action=view)
Reverting to String equals() comparision in PropertyName#equals()


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org