RFR: 8290180: Convert com/sun/management/UnixOperatingSystemMXBean/GetOpenFileDescriptorCount.sh to jtreg java version [v2]
David Holmes
dholmes at openjdk.org
Fri Jul 15 01:59:58 UTC 2022
On Thu, 14 Jul 2022 22:46:09 GMT, Bill Huang <duke at openjdk.org> wrote:
>> This is a task to convert shell tests to Java tests. The shell scripts to be removed are responsible for compiling Java files and running the tests on Linux systems. This functionality can be achieved with JTReg tag @requires (os.family=="linux").
>
> Bill Huang has updated the pull request incrementally with one additional commit since the last revision:
>
> Removed othervm option and fixed @requires coding style.
Is the restriction to run on Linux actually still valid? Shouldn't this work on any of our Posix-like platforms? I suspect you need to read "Linux" as "not Solaris or Windows" when looking at this test (and possibly others).
-------------
PR: https://git.openjdk.org/jdk/pull/9503
More information about the serviceability-dev
mailing list