Free cookie consent management tool by TermsFeed Policy Generator

Opened 15 years ago

Closed 15 years ago

Last modified 14 years ago

#605 closed defect (done)

ObjectData with the same value are stored as references to each other

Reported by: epitzer Owned by: epitzer
Priority: low Milestone: HeuristicLab 3.3.0
Component: Persistence Version: 3.2
Keywords: Cc:

Description

If an object overrides Equals and GetHashCode it is treated as a value type causing unitended aliasing during serialization.

Change History (8)

comment:1 Changed 15 years ago by epitzer

  • Status changed from new to assigned

comment:2 Changed 15 years ago by epitzer

Replace value comparison with references comparison in serializer. (r1701)

comment:3 Changed 15 years ago by epitzer

  • Resolution set to fixed
  • Status changed from assigned to closed

comment:4 Changed 15 years ago by epitzer

Move ReferenceEqualityComparer inside serializer. (r1702)

comment:5 Changed 15 years ago by epitzer

Use actual GetHashCode instead of garbage collector handle for less speed but more safety. (r1707)

comment:6 Changed 15 years ago by epitzer

Check if reference is null before calling GetHashCode. (r1710)

comment:7 Changed 14 years ago by swagner

  • Milestone changed from Iteration 3 to Current

Milestone Iteration 3 deleted

comment:12 Changed 14 years ago by swagner

  • Milestone changed from Current to HeuristicLab 3.3.0

Milestone Current deleted

Note: See TracTickets for help on using tickets.