| Summary: | ResourceSynchronizedIsLoadingAdapter#logWarning() will always cause exceptions | ||
|---|---|---|---|
| Product: | [WebTools] WTP Common Tools | Reporter: | Nitin Dahyabhai <thatnitind> |
| Component: | wst.common | Assignee: | Nitin Dahyabhai <thatnitind> |
| Status: | RESOLVED FIXED | QA Contact: | Carl Anderson <ccc> |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 3.2 | ||
| Target Milestone: | 3.3 M3 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
Changed. |
I was updating my workspace to 3.7M3 and I noticed a new error in the org.eclipse.wst.common.internal.emf.ResourceSynchronizedIsLoadingAdapter#logWarning() method. As written, it can't possibly run correctly: Notifier target = getTarget(); if (target == null || !(target instanceof Resource)) { Resource resource = (Resource) target; EcoreUtilitiesPlugin.logError("[WARNING] Could not acquire Semaphore Lock for Resource: \"" + resource.getURI() + "\" in " + getClass()); //$NON-NLS-1$//$NON-NLS-2$ }