summaryrefslogtreecommitdiff
path: root/libjava/classpath/gnu/CORBA/GIOP/MessageHeader.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/gnu/CORBA/GIOP/MessageHeader.java')
-rw-r--r--libjava/classpath/gnu/CORBA/GIOP/MessageHeader.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/libjava/classpath/gnu/CORBA/GIOP/MessageHeader.java b/libjava/classpath/gnu/CORBA/GIOP/MessageHeader.java
index cac2405fc77..f63cbea1708 100644
--- a/libjava/classpath/gnu/CORBA/GIOP/MessageHeader.java
+++ b/libjava/classpath/gnu/CORBA/GIOP/MessageHeader.java
@@ -47,6 +47,8 @@ import gnu.CORBA.CDR.LittleEndianOutputStream;
import gnu.CORBA.CDR.AbstractDataInput;
import gnu.CORBA.CDR.AbstractDataOutput;
+import gnu.java.lang.CPStringBuilder;
+
import org.omg.CORBA.MARSHAL;
import org.omg.CORBA.portable.IDLEntity;
@@ -286,7 +288,7 @@ public class MessageHeader
int minor;
if (! Arrays.equals(xMagic, MAGIC))
{
- StringBuffer b = new StringBuffer();
+ CPStringBuilder b = new CPStringBuilder();
if (r == - 1)
{
b.append("Immediate EOF");
@@ -460,4 +462,4 @@ public class MessageHeader
throw m;
}
}
-} \ No newline at end of file
+}