RFR: 8350709: [JMH] test ProtectionDomainBench failed for 2 threads config
Andrey Turbanov
aturbanov at openjdk.org
Wed Jul 16 14:40:43 UTC 2025
On Mon, 14 Jul 2025 19:25:38 GMT, Mark Powers <mpowers at 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
More information about the security-dev
mailing list