RFR: 8344298: Test tools/sincechecker/modules/jdk.hotspot.agent/JdkHotspotAgentCheckSince.java fails on platforms without sa
Matthias Baesken
mbaesken at openjdk.org
Sun Nov 17 02:09:38 UTC 2024
E.g. on AIx we run into this test failure :
error: module not found: jdk.hotspot.agent
Unable to retrieve `@since` for Module: module: jdk.hotspot.agent
java.lang.Exception: The `@since` checker found 1 problems
at SinceChecker.checkModule(SinceChecker.java:284)
at SinceChecker.main(SinceChecker.java:145)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
at java.base/java.lang.Thread.run(Thread.java:1447)
So we should probably limit the execution of this test to jdk with sa support.
-------------
Commit messages:
- JDK-8344298
Changes: https://git.openjdk.org/jdk/pull/22146/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22146&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8344298
Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/22146.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/22146/head:pull/22146
PR: https://git.openjdk.org/jdk/pull/22146
More information about the serviceability-dev
mailing list