Modify

Opened 8 years ago

Closed 8 years ago

#12936 closed defect (fixed)

[Patch] Do not use clone() on Dataset.

Reported by: michael2402 Owned by: team
Priority: normal Milestone: 16.06
Component: Core Version:
Keywords: gsoc-core Cc: Don-vip, bastiK, stoecker

Description

The dupplicate layer action used DataSet.clone()

This froze JOSM because both datasets were sharing the same RW-Lock.

I added a copy constructor that copies over all primitives to the new dataset.

Attachments (1)

patch-dataset-clone.patch (6.5 KB ) - added by michael2402 8 years ago.

Download all attachments as: .zip

Change History (2)

by michael2402, 8 years ago

Attachment: patch-dataset-clone.patch added

comment:1 by Don-vip, 8 years ago

Resolution: fixed
Status: newclosed

In 10346/josm:

fix #12936 - Do not use clone() on Dataset (patch by michael2402) - gsoc-core

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.