RFR: 8355444: [java.io] Use @requires tag instead of exiting based on "os.name" property value [v4]

Brian Burkhalter bpb at openjdk.org
Wed Apr 30 15:46:46 UTC 2025


On Wed, 30 Apr 2025 06:08:30 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> Comment simplified in 4cee3c2.
>
> Okay, just a bit puzzled as to why it doesn't run on Linux. The VM uses setrlimit(RLIMIT_NOFILE) to set the limit to the hard limit (rlim_max). So is the issue here that the hard limit less than 2050 on some test systems?

It must have been that. I have not seen it fail on Linux in the CI nor locally with the `@requires` tag removed. I would be inclined to delete the tag and, if we see any failures later, reinstate it.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24860#discussion_r2068955640


More information about the core-libs-dev mailing list