Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7067728

Remove stopThread RuntimePermission from the default java.policy

    Details

    • Subcomponent:
    • Resolved In Build:
      b102
    • CPU:
      generic
    • OS:
      generic

      Description

      diff --git a/src/java.base/share/conf/security/java.policy b/src/java.base/share/conf/security/java.policy
      --- a/src/java.base/share/conf/security/java.policy
      +++ b/src/java.base/share/conf/security/java.policy
      @@ -94,17 +94,6 @@
       // default permissions granted to all domains
       
       grant {
      - // Allows any thread to stop itself using the java.lang.Thread.stop()
      - // method that takes no argument.
      - // Note that this permission is granted by default only to remain
      - // backwards compatible.
      - // It is strongly recommended that you either remove this permission
      - // from this policy file or further restrict it to code sources
      - // that you specify, because Thread.stop() is potentially unsafe.
      - // See the API specification of java.lang.Thread.stop() for more
      - // information.
      - permission java.lang.RuntimePermission "stopThread";
      -

        Issue Links

          Activity

          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/41d23e89d583
          User: chegar
          Date: 2016-01-14 19:07:59 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/41d23e89d583 User: chegar Date: 2016-01-14 19:07:59 +0000
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/41d23e89d583
          User: lana
          Date: 2016-01-20 20:51:00 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/41d23e89d583 User: lana Date: 2016-01-20 20:51:00 +0000

            People

            • Assignee:
              chegar Chris Hegarty
              Reporter:
              hawtin Tom Hawtin (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: