Community
Participate
Working Groups
These classes use java.util.Timer: - OfflineCachingStorage (deprecated) - TaskListBackupManager - TaskScheduleContentProvider The non-deprecated classes should be converted to using Jobs instead of the Java Timer class.
Created attachment 126073 [details] TaskListBackkupManager patch Uses job rather than time in backup manager.
Created attachment 126074 [details] mylyn/context/zip
Patch applied to head
* Look into possible concurrency issue when two threads enter TaskListBackupManager.backupNow.
Invoking TasksUiInternal.logAndDisplayStatus() from a job will fail since it expects to run in the ui thread. Are you sure we should display a modal dialog when backup fails? Maybe logging to the error log is sufficient or at most display a single dialog per session.
(In reply to comment #5) > Invoking TasksUiInternal.logAndDisplayStatus() from a job will fail since it > expects to run in the ui thread. Are you sure we should display a modal dialog > when backup fails? Maybe logging to the error log is sufficient or at most > display a single dialog per session. Good point. Fixed ui thread issue and an error is now reported and logged once per workbench session.
Fixed.
*** Bug 265396 has been marked as a duplicate of this bug. ***
*** Bug 220528 has been marked as a duplicate of this bug. ***