On Mon, 14 Jul 2025 19:25:38 GMT, Mark Powers <mpow...@openjdk.org> wrote:

> [JDK-8350709](https://bugs.openjdk.org/browse/JDK-8350709)

test/micro/org/openjdk/bench/java/security/ProtectionDomainBench.java line 112:

> 110:                 throws ClassNotFoundException {
> 111:             if (name.equals(state.classNames[state.index] /* "B" + index 
> */)) {
> 112:                 assert state.compiledClasses[state.index]  != null;

Suggestion:

                assert state.compiledClasses[state.index] != null;

test/micro/org/openjdk/bench/java/security/ProtectionDomainBench.java line 135:

> 133:     @Benchmark
> 134:     @Fork(value = 3)
> 135:     public void noSecurityManager(MyState state)  throws 
> ClassNotFoundException {

Suggestion:

    public void noSecurityManager(MyState state) throws ClassNotFoundException {

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26301#discussion_r2210627799
PR Review Comment: https://git.openjdk.org/jdk/pull/26301#discussion_r2210628151

Reply via email to