37 |
|
|
38 |
package java.security; |
package java.security; |
39 |
|
|
40 |
|
import gnu.classpath.SystemProperties; |
41 |
|
|
42 |
/** |
/** |
43 |
* <p>This <code>ProtectionDomain</code> class encapsulates the characteristics |
* <p>This <code>ProtectionDomain</code> class encapsulates the characteristics |
44 |
* of a domain, which encloses a set of classes whose instances are granted a |
* of a domain, which encloses a set of classes whose instances are granted a |
224 |
*/ |
*/ |
225 |
public String toString() |
public String toString() |
226 |
{ |
{ |
227 |
String linesep = System.getProperty("line.separator"); |
String linesep = SystemProperties.getProperty("line.separator"); |
228 |
StringBuffer sb = new StringBuffer("ProtectionDomain (").append(linesep); |
StringBuffer sb = new StringBuffer("ProtectionDomain (").append(linesep); |
229 |
|
|
230 |
if (code_source == null) |
if (code_source == null) |