< prev index next >

jdk/test/java/nio/charset/spi/default-pol

Print this page





   1 
   2 // default permissions granted to all domains
   3 
   4 grant { 
   5         // Allows any thread to stop itself using the java.lang.Thread.stop()
   6         // method that takes no argument.
   7         // Note that this permission is granted by default only to remain
   8         // backwards compatible.
   9         // It is strongly recommended that you either remove this permission
  10         // from this policy file or further restrict it to code sources
  11         // that you specify, because Thread.stop() is potentially unsafe.
  12         // See "http://java.sun.com/notes" for more information.
  13         permission java.lang.RuntimePermission "stopThread";
  14 
  15         // allows anyone to listen on un-privileged ports
  16         permission java.net.SocketPermission "localhost:1024-", "listen";
  17 
  18         // "standard" properies that can be read by anyone
  19 
  20         permission java.util.PropertyPermission "java.version", "read";


   1 grant codeBase "jrt:/jdk.charsets" {
   2         permission java.security.AllPermission;
   3 };
   4 
   5 // default permissions granted to all domains
   6 
   7 grant { 
   8         // Allows any thread to stop itself using the java.lang.Thread.stop()
   9         // method that takes no argument.
  10         // Note that this permission is granted by default only to remain
  11         // backwards compatible.
  12         // It is strongly recommended that you either remove this permission
  13         // from this policy file or further restrict it to code sources
  14         // that you specify, because Thread.stop() is potentially unsafe.
  15         // See "http://java.sun.com/notes" for more information.
  16         permission java.lang.RuntimePermission "stopThread";
  17 
  18         // allows anyone to listen on un-privileged ports
  19         permission java.net.SocketPermission "localhost:1024-", "listen";
  20 
  21         // "standard" properies that can be read by anyone
  22 
  23         permission java.util.PropertyPermission "java.version", "read";


< prev index next >