GC stress fixes and other bugfixes; classpath progress

This commit is contained in:
Joel Dice
2007-07-29 17:32:23 -06:00
parent d5a00c4556
commit a2bd7d0668
27 changed files with 463 additions and 75 deletions

View File

@ -1,7 +1,15 @@
package java.lang;
public class StringBuffer {
private final StringBuilder sb = new StringBuilder();
private final StringBuilder sb;
public StringBuffer(int capacity) {
sb = new StringBuilder(capacity);
}
public StringBuffer() {
this(0);
}
public synchronized StringBuffer append(String s) {
sb.append(s);