| Summary: | IResource.accept(...) wraps RuntimeException thrown in visitor and logs | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Dani Megert <daniel_megert> | ||||
| Component: | Resources | Assignee: | Szymon Brandys <Szymon.Brandys> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | john.arthorne | ||||
| Version: | 3.6 | ||||||
| Target Milestone: | 3.7 M7 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Dani Megert
It seems that the RuntimeException catch clause in Resource#accept(IResourceProxyVisitor, int) line 79 can be removed now. John, do you remember why we started to wrap all RuntimeExceptions in CoreExceptions in Resource.java ver. 1.58? Yes this should be fixed. We originally implemented short-circuit by throwing a RuntimeException which is why it was caught originally. The implementation was later changed to not use that technique but the catch clause wasn't fixed. Created attachment 192107 [details]
Fix v01
Fixed. Verified in HEAD. |