| Summary: | Strip out dead code associated with Debug.debug | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Glyn Normington <glyn.normington> | ||||
| Component: | Framework | Assignee: | Thomas Watson <tjwatson> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | enhancement | ||||||
| Priority: | P3 | CC: | tjwatson | ||||
| Version: | 3.6 | ||||||
| Target Milestone: | 3.7 M1 | ||||||
| Hardware: | PC | ||||||
| OS: | Mac OS X - Carbon (unsup.) | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Glyn Normington
I should have mentioned that I already discussed this with Tom Watson who asked me to raise the bug. :-) Agreed, should do this early to make sure there is no unforeseen issues. The only potential issue I can foresee is if some framework extensions where using this flag. In that case they will get a compile error, but I think binaries should still work because the compiler should inline the final constant or even completely remove it from the bytecode as an optimization since it has no effect on the outcome of the condition "if (Debug.debug && someothercond) ...". Created attachment 174158 [details]
patch
Here is a patch to remove the useless constant.
I released this to head and have kicked of a test eclipse/equinox build to make sure no one else is referencing the constant. Test build succeeded. Fixed. Thanks for addressing this so quickly Tom. |