RFR: 8344336: SM cleanup of java.lang.System, Runtime, String, StackWalker

Eirik Bjørsnøs eirbjo at openjdk.org
Fri Nov 15 22:55:40 UTC 2024


On Fri, 15 Nov 2024 22:11:17 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

> Removed use of SecurityManager to check permissions.
> Relaxed defensive copying of byte arrays (due to lack of SM)

src/java.base/share/classes/java/lang/LiveStackFrame.java line 1:

> 1: /*

Seems you removed "@throws SecurityException" for the `getStackWalker` override actually throwing, but not for the delegating `getStackWalker` overrides?

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/22168#discussion_r1844642792


More information about the core-libs-dev mailing list