Summary: | Array equals method semantics wrong | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Xavier Serret <xavier.serret> |
Component: | Core | Assignee: | JDT-Core-Inbox <jdt-core-inbox> |
Status: | RESOLVED WONTFIX | QA Contact: | |
Severity: | major | ||
Priority: | P3 | ||
Version: | 2.1 | ||
Target Milestone: | 3.0 RC2 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Xavier Serret
2004-06-09 04:05:17 EDT
This is a language spec issue, nothing to do with our compiler. Object#equals is implemented as an identity check, and clients may refine it to be more tolerant (i.e. compare held values instead). array #equals is spec'ed to use the Object method implementation. Please complain against the owner of the language spec, we have to comply. |