summaryrefslogtreecommitdiffstats
path: root/libjava/classpath/java/security/CodeSource.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/java/security/CodeSource.java')
-rw-r--r--libjava/classpath/java/security/CodeSource.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/libjava/classpath/java/security/CodeSource.java b/libjava/classpath/java/security/CodeSource.java
index b516170281c..90eb089079d 100644
--- a/libjava/classpath/java/security/CodeSource.java
+++ b/libjava/classpath/java/security/CodeSource.java
@@ -38,6 +38,8 @@ exception statement from your version. */
package java.security;
+import gnu.java.lang.CPStringBuilder;
+
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
@@ -259,7 +261,7 @@ public class CodeSource implements Serializable
*/
public String toString()
{
- StringBuffer sb = new StringBuffer("(").append(location);
+ CPStringBuilder sb = new CPStringBuilder("(").append(location);
if (certs == null || certs.isEmpty())
sb.append(" <no certificates>");
else
OpenPOWER on IntegriCloud