-
Bug
-
Resolution: Fixed
-
P4
-
7
-
b51
-
sparc
-
solaris_10
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2191824 | 6u23 | Sean Coffey | P4 | Resolved | Fixed | b02 |
JDK-2191823 | 5.0u27 | Sean Coffey | P4 | Closed | Fixed | b01 |
JDK-2191825 | 1.4.2_29 | Sean Coffey | P4 | Closed | Fixed | b01 |
The JRE/lib/security/java.policy file contains the following lines:
// 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 "http://java.sun.com/notes" for more information.
permission java.lang.RuntimePermission "stopThread";
However, the link "http://java.sun.com/notes" does not exist anymore.
I recommend we replace the sentence "See "http://java.sun.com/notes" for more information." with "See the method java.lang.Thread.stop() for more information." This will avoid JDK specific links and links being removed in the future. The method definition contains more information about the issue and a link to the JDK guide for even more information:
http://java.sun.com/javase/6/docs/technotes/guides/concurrency/threadPrimitiveDeprecation.html
// 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 "http://java.sun.com/notes" for more information.
permission java.lang.RuntimePermission "stopThread";
However, the link "http://java.sun.com/notes" does not exist anymore.
I recommend we replace the sentence "See "http://java.sun.com/notes" for more information." with "See the method java.lang.Thread.stop() for more information." This will avoid JDK specific links and links being removed in the future. The method definition contains more information about the issue and a link to the JDK guide for even more information:
http://java.sun.com/javase/6/docs/technotes/guides/concurrency/threadPrimitiveDeprecation.html
- backported by
-
JDK-2191824 java.policy file contains stale link to http://java.sun.com/notes
- Resolved
-
JDK-2191823 java.policy file contains stale link to http://java.sun.com/notes
- Closed
-
JDK-2191825 java.policy file contains stale link to http://java.sun.com/notes
- Closed