< prev index next >

jdk/src/java.base/share/classes/java/lang/RuntimePermission.java

Print this page

        

@@ -296,10 +296,18 @@
  * another thread.  This might allow malicious code to monitor the
  * execution of threads and discover vulnerabilities in applications.</td>
  * </tr>
  *
  * <tr>
+ *   <td>getStackWalkerWithClassReference</td>
+ *   <td>Get a stack walker that can retrieve stack frames with class reference.</td>
+ *   <td>This allows retrieval of Class objects from stack walking.
+ *   This might allow malicious code to access Class objects on the stack
+ *   outside its own context.</td>
+ * </tr>
+ *
+ * <tr>
  *   <td>setDefaultUncaughtExceptionHandler</td>
  *   <td>Setting the default handler to be used when a thread
  *   terminates abruptly due to an uncaught exception</td>
  *   <td>This allows an attacker to register a malicious
  *   uncaught exception handler that could interfere with termination
< prev index next >