On Wed, 16 Oct 2024 15:53:33 GMT, Alan Bateman <al...@openjdk.org> wrote:
>> **SLF4J** currently depends on this method when logger name mismatch >> detection is enabled. >> >> -------------------------------------------------------------------------------- >> >> See also: >> - https://github.com/qos-ch/slf4j/pull/271#issuecomment-1288128565 > > We've had logging library maintainers on the core-libs-dev several times in > the last 7+ years so I hope there is good awareness of StackWalker. > SM.getClassContext is legacy, shouldn't be any reason to use it in 2024. Ok, I'll also add an API note to `getClassContext()` to use `StackWalker` instead. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/21498#discussion_r1803740577