Community
Participate
Working Groups
build I20060602-1317 1) create a new java project 2) copy ecj.jar inside this project 3) rename ecj.jar as ecj.java 4) do refresh of the project 5) rebuild this project Building this file take a long time. This is not the case in 3.1.
The problem is caused by statement recovery. When the statment recovery is enabled the DiagnoseParse doesn't stop when the maximum of reported problems is reached. That's because the statement recovery use the result of the diagnosis. But with this test case most of the problems are in the diet part of the source and the statment recovery doesn't use these diagnosis. A fix would be to stop diagnosis in diet part when the maximum of problems is reached even if statement recovery is enabled.
Compiler is between 5 and 10 time slower with this kind of test case when statement recovery is enabled
Created attachment 43582 [details] Proposed fix
Fix released in 3.2.1 branch No regression test.
Released for 3.2.1 Released for 3.3 M1 while merging TARGET_321 in HEAD
Verified for 3.3 M1 using build I20060804-0010.
Verified for 3.2.1 using build M20060908-1655.