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

[email protected] Mon, 2 Jul 2007 01:45:50 -0700 (PDT)
Newsgroups gmane.comp.jakarta.slide.devel
Message-ID <[email protected]/bugzilla/>
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: [email protected]
        ReportedBy: [email protected]


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/%[email protected]%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.