RFR: JDK-8313670: Simplify shared lib name handling code in some tests [v2]
Matthias Baesken
mbaesken at openjdk.org
Wed Aug 9 11:06:28 UTC 2023
On Wed, 9 Aug 2023 08:42:35 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
>> There is coding e.g. in
>> https://github.com/openjdk/jdk/blob/master/test/jdk/jdk/jfr/event/runtime/TestNativeLibrariesEvent.java#L72
>> that deals with shared lib naming on different OS.
>> This code should be simplified.
>
> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
>
> use Platform.sharedLibraryPrefix in more tests
Hello, as suggested I introduced a Platform.buildSharedLibraryName; this can be used to simplify a lot of code in the mentioned tests.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/15151#issuecomment-1671099342
More information about the serviceability-dev
mailing list