diff options
Diffstat (limited to 'libjava/classpath/java/net/Inet6Address.java')
-rw-r--r-- | libjava/classpath/java/net/Inet6Address.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libjava/classpath/java/net/Inet6Address.java b/libjava/classpath/java/net/Inet6Address.java index f4893eb09f3..9a1c4ea96da 100644 --- a/libjava/classpath/java/net/Inet6Address.java +++ b/libjava/classpath/java/net/Inet6Address.java @@ -38,6 +38,8 @@ exception statement from your version. */ package java.net; +import gnu.java.lang.CPStringBuilder; + import java.util.Arrays; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; @@ -317,7 +319,7 @@ public final class Inet6Address extends InetAddress */ public String getHostAddress() { - StringBuffer sbuf = new StringBuffer(40); + CPStringBuilder sbuf = new CPStringBuilder(40); for (int i = 0; i < 16; i += 2) { |