RFR: 8344298: Test tools/sincechecker/modules/jdk.hotspot.agent/JdkHotspotAgentCheckSince.java fails on platforms without sa

Lutz Schmidt lucy at openjdk.org
Sun Nov 17 02:09:38 UTC 2024


On Fri, 15 Nov 2024 12:04:08 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> 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.

LGTM.

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

Marked as reviewed by lucy (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/22146#pullrequestreview-2438432058


More information about the serviceability-dev mailing list