Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 352129

Summary: Bogus synchronization block in XPathComputer
Product: [WebTools] WTP Source Editing Reporter: Remy Suen <remy.suen>
Component: wst.xpathAssignee: Project Inbox <wst.xsl-inbox>
Status: NEW --- QA Contact: Jesper Moller <jesper>
Severity: normal    
Priority: P3    
Version: 3.3   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Remy Suen CLA 2011-07-14 12:10:46 EDT
In the changes for bug 340935 in v1.11 of the file, a line of code was deleted in the compute() method, making the synchronization block obsolete. Now the code looks like this...

public void compute() {
  synchronized (XPATH_LOCK) {
  }
  /* Other code not copied for brevity */
}