Community
Participate
Working Groups
Swing and SWT-Jobs do not behave equally. When aborting a Job in Swing the ClientJobs are aborted. One of those ClientJob has typically started a HttpBackgroundJob and waits for its completion in a while loop. When aborting that job the HttpBackgroundjob is aborted too. Aborting Jobs in SWT (EclipseRCP) is usually done by using a progress view. A progress view shows all jobs with the property system=false. Only the HttpBackgroundJob has currently set this flag to false. So in case of SWT the HttpBackgroundJob is aborted instead of the ClientJob which has started the backgroundJob. This behaviour leads to the problem that when aborting a job in SWT a wrong error message is displayed. Instead of InterruptedException a SocketException is thrown. Furthermore the properties system and user of the Job seem to be ignored by the Swing-UI. It would be nice if the behaviour of swing and swt were the same.
fixed on 5.3.11, #101303
shipped with eclipse scout 3.7.0