United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-4915187 : String has a StringBuffer constructor but no StringBuilder constructor

Details
Type:
Enhancement
Submit Date:
2003-08-29
Status:
Resolved
Updated Date:
2003-09-12
Project Name:
JDK
Resolved Date:
2003-09-12
Component:
core-libs
OS:
solaris_9
Sub-Component:
java.lang
CPU:
sparc
Priority:
P3
Resolution:
Fixed
Affected Versions:
5.0
Fixed Versions:
5.0 (tiger)

Related Reports
Relates:

Sub Tasks

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



Hardware and Software, Engineered to Work Together