Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 355773

Summary: Autogenerated equals() method should use Arrays.deepEquals() for multi-dimensional arrays
Product: [Eclipse Project] JDT Reporter: James Shaw <js102>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: amj87.iitr, markus.kell.r
Version: 3.8   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description James Shaw CLA 2011-08-24 18:55:41 EDT
Build Identifier: I20110613-1736

Currently, it uses Arrays.equals(), which returns false for multi-dimensional arrays.

Reproducible: Always
Comment 1 Ayushman Jain CLA 2011-08-25 03:15:02 EDT
Moving to JDT/UI.
Comment 2 Markus Keller CLA 2011-09-05 12:33:09 EDT
Could do this, but only if source level is >= 1.5.
Comment 3 Markus Keller CLA 2011-09-16 12:31:49 EDT

*** This bug has been marked as a duplicate of bug 304176 ***