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

Bug 357399

Summary: TextUtils.shortenText() throws PatternSyntaxException
Product: [WebTools] JSDT Reporter: Michael Rennie <Michael_Rennie>
Component: DebugAssignee: Michael Rennie <Michael_Rennie>
Status: CLOSED DUPLICATE QA Contact: Michael Rennie <Michael_Rennie>
Severity: normal    
Priority: P3 CC: grant_gayed, thatnitind
Version: 3.4   
Target Milestone: 3.3.2   
Hardware: PC   
OS: All   
Whiteboard:
Bug Depends on: 356979    
Bug Blocks:    

Description Michael Rennie CLA 2011-09-12 12:18:49 EDT
+++ This bug was initially created as a clone of Bug #356979 +++

This method is using String.replaceAll() instead of String.replace(), and as a result is failing because replaceAll() expects its argument to be a regex.

Fix is committed to HEAD.  Creating this report as a reminder to make this change in the 3_3_maintenance stream.
Comment 1 Michael Rennie CLA 2012-01-10 14:53:09 EST
This bug will be fixed when the back-port is applied from bug 356862

*** This bug has been marked as a duplicate of bug 356862 ***