Community
Participate
Working Groups
I just switched from 3.1M5 to 3.1M6 and I noticed that High and Low priority tasks from Java files (configured via Windows|Preferences|Java|Compiler|Error/Warnings) no longer have their correct priority in the view. They have no icon specified, which I assume means normal priority. Additionally, the tasks are now editable, so I can mark them as completed and change the description. However, this has no relation to the Java file they originated from, i.e. it doesn't update the comment text in the .java. I don't think I would want that anyways, but if compiler-generated tasks are going to be editable in Task View, they should tie back to the source. I couldn't find anything in the build notes or help for 3.1m6. I didn't see any way to configure the editablility of .java tasks -- I liked the m5 style where java tasks are non-editable in the Task View. When I switched to m6, I reused the same workspace, but it happens in a new workspace as well.
The task view is provided by Platform/UI.
In M6
Confirming missing priority for 3.1M6 on Windows XP. I think you meant Windows|Preferences|Java|Compiler|Task Tags ?! Should we create a new bug for the "editable description" bug and use this bug to track the priority error?
see bug 26942 for the editable task description
Should we tag Java tasks as read-only ? Originally, we did so, but then JDT/UI wanted to be able to associate some quickfix for them (remove).
*** Bug 91720 has been marked as a duplicate of this bug. ***
created new bug 93632 for the read-only/read-write bug. Change severity of "this bug" (i.e. the missing priority of Java task tags) to major?! As bug 91720 was for Linux, OS should be changed to all.
See also Bug #96452
Any chance this regression will be targeted for fixing in 3.1?
This problem is coming from a bug in the java image builder that doesn't set the proper value for the priority key in the marker. It is setting the severity instead of the priority. I will add a patch that is fixing this issue.
Created attachment 24372 [details] Proposed fix
*** Bug 97315 has been marked as a duplicate of this bug. ***
Philippe, this might be a good candidate for 3.1.1.
*** Bug 102569 has been marked as a duplicate of this bug. ***
Created attachment 24403 [details] Proposed fix This fix is setting both severity and priority for both (problem's and task's markers).
*** Bug 96452 has been marked as a duplicate of this bug. ***
Fixed and released in 3.1 maintenance stream.
Fixed in HEAD. Regression test is org.eclipse.jdt.core.tests.builder.BasicBuildTests.testToDoMarker2 in both HEAD and 3.1. maintenance stream.
Verified with 3.2 M1
*** Bug 109821 has been marked as a duplicate of this bug. ***
Verified for 3.1.1 using build M20050923-1430.
Verified.