Community
Participate
Working Groups
Build Identifier: This is a bug found during the investigation of the bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=321376 StandaloneIndexerTask creates exception status set IStatus.ERROR as the status code which collides with CCorePlugin.STATUS_PDOM_TOO_LARGE, so that it may report false exception for CCorePlugin.STATUS_PDOM_TOO_LARGE error. Reproducible: Always
Created attachment 176265 [details] a patch applied to org.eclipse.cdt.internal.core.indexer.StandaloneIndexerTask The fix just remove the IStatus.ERROR from function's staus code argument, so the status is created by the default status code, the implementation is then consistent with CCorePlugin's implementation to the same functions. The fix has been discussed with Markus in the bug, https://bugs.eclipse.org/bugs/show_bug.cgi?id=321376
Created attachment 176270 [details] a patch applied to org.eclipse.cdt.internal.core.indexer.StandaloneIndexerTask (copyright updated)
Applied to cdt_7_0 and HEAD. Thanks John
*** cdt cvs genie on behalf of vkong *** Bug 322269 StandaloneIndexerTask creates status with a wrong status code [*] StandaloneIndexerTask.java 1.18.2.1 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/indexer/StandaloneIndexerTask.java?root=Tools_Project&r1=1.18&r2=1.18.2.1 [*] StandaloneIndexerTask.java 1.19 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/indexer/StandaloneIndexerTask.java?root=Tools_Project&r1=1.18&r2=1.19