RFR: 8281822: Test failures on non-DTrace builds due to incomplete DTrace* flags handling [v2]

Aleksey Shipilev shade at openjdk.java.net
Wed Feb 16 06:12:44 UTC 2022


On Tue, 15 Feb 2022 22:21:30 GMT, David Holmes <dholmes at openjdk.org> wrote:

> One query about restricting the test to Linux below - and I'll need to take the final version for a spin in our CI before pushing, but tacit approval.

OK, I am seeing another GHA failure, which is due to another instance `Whitebox` missing a method declaration. I pushed the version that should fix that failure now. Once GHA is green, I'd say the fix is final.

> test/hotspot/jtreg/serviceability/dtrace/DTraceOptionsTest.java line 28:
> 
>> 26:  * @bug 8281822
>> 27:  * @summary Test DTrace options are accepted on suitable builds
>> 28:  * @requires os.family == "linux"
> 
> macOS should be a possibility too. But if you check explicitly for hasDTrace then you don't also need to limit the platform.

Right, fixed.

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

PR: https://git.openjdk.java.net/jdk/pull/7477


More information about the hotspot-runtime-dev mailing list