Bug 566870

Summary: [cleanup] Make cleanup a multi-pass process
Product: [Eclipse Project] JDT Reporter: Carsten Hammer <carsten.hammer>
Component: UIAssignee: Fabrice Tiercelin <fabrice.tiercelin>
Status: ASSIGNED --- QA Contact:
Severity: normal    
Priority: P3 CC: fabrice.tiercelin
Version: 4.17   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: stalebug
Bug Depends on:    
Bug Blocks: 567617    

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.