Bug 579659 - Unnecessary warning about lack of equals() and hashCode() in SortedMap and SortedSet
Summary: Unnecessary warning about lack of equals() and hashCode() in SortedMap and So...
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.24   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-11 06:19 EDT by Simon Alexander CLA
Modified: 2022-04-11 14:53 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Alexander CLA 2022-04-11 06:19:53 EDT
When generating hashcode and equals, if the class contains a SortedSet or SortedMap, then eclipse prompts the user that the generated code may not work.

This may be confusing for the user, because although those classes don't override equals themselves, their parent classes do and in these cases there should not be a meaningful difference.