JDK-4915187 : String has a StringBuffer constructor but no StringBuilder constructor
  • Type: Enhancement
  • Status: Resolved
  • Resolution: Fixed
  • Component: core-libs
  • Sub-Component: java.lang
  • Priority: P3
  • Affected Version: 5.0
  • OS: solaris_9
  • CPU: sparc
  • Submit Date: 2003-08-29
  • Updated Date: 2017-05-16
  • Resolved Date: 2003-09-12
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availabitlity Release.

To download the current JDK release, click here.
Other
5.0 tigerResolved
Related Reports
Relates :  
Description
Normally I would advocate use of StringBuilder.toString(), but since one of the design goals of StringBuilder was to make it an easy drop in replacement for StringBuffer, then we should consider adding the StringBuilder constructor to make it easier for customers to move to StringBuilder.

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger FIXED IN: tiger INTEGRATED IN: tiger tiger-b20
2004-06-14

EVALUATION This oversight has been corrected by adding the constructor, along with warnings about its inefficiency. It has been added to ease migration. ###@###.### 2003-09-05
2003-09-05