summaryrefslogtreecommitdiff
path: root/libjava/classpath/java/security/ProtectionDomain.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/java/security/ProtectionDomain.java')
-rw-r--r--libjava/classpath/java/security/ProtectionDomain.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/libjava/classpath/java/security/ProtectionDomain.java b/libjava/classpath/java/security/ProtectionDomain.java
index 33af8fdb843..b1eb049e3f2 100644
--- a/libjava/classpath/java/security/ProtectionDomain.java
+++ b/libjava/classpath/java/security/ProtectionDomain.java
@@ -39,6 +39,8 @@ package java.security;
import gnu.classpath.SystemProperties;
+import gnu.java.lang.CPStringBuilder;
+
/**
* This class represents a group of classes, along with their granted
* permissions. The classes are identified by a {@link CodeSource}. Thus, any
@@ -204,7 +206,7 @@ public class ProtectionDomain
public String toString()
{
String linesep = SystemProperties.getProperty("line.separator");
- StringBuffer sb = new StringBuffer("ProtectionDomain (").append(linesep);
+ CPStringBuilder sb = new CPStringBuilder("ProtectionDomain (").append(linesep);
if (code_source == null)
sb.append("CodeSource:null");