Bug 566870 - [cleanup] Make cleanup a multi-pass process
Summary: [cleanup] Make cleanup a multi-pass process
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.17   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Fabrice Tiercelin CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks: 567617
  Show dependency tree
 
Reported: 2020-09-10 13:43 EDT by Carsten Hammer CLA
Modified: 2022-11-07 19:01 EST (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 Carsten Hammer CLA 2020-09-10 13:43:21 EDT
Maybe this is not really a problem but I notice that this quickfix needs several runs to catch all changes in the file 

org.eclipse.jdt.junit.tests.AbstractTestRunSessionSerializationTests

You find this file in the jdt.ui test project org.eclipse.jdt.ui.test
Comment 1 Fabrice Tiercelin CLA 2020-09-14 09:57:16 EDT
This is a redundant issue. It is mainly due to the fact that cleanup is single-pass. For one run, it only evaluates the code once.

The best solution would be to make cleanup multi-pass: it should clean the code till there is a change and it stops when a pass has changed nothing. It also requires a watchdog that automatically stops the loop after a hundred of passes.

The problem is for the plugins because they don't have been coded for such a behavior and some of them may be broken.
Comment 2 Eclipse Genie CLA 2022-11-07 19:01:12 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.