Integrated: 8357052: java/io/File/GetXSpace.java prints wrong values in exception

2025-05-20 Thread Arno Zeller
On Thu, 15 May 2025 13:49:14 GMT, Arno Zeller wrote: > When the test java/io/File/GetXSpace.java fails, because the usable space is > greater than the free space, the values in the exception are not the correct > ones. This pull request has now been integrated. Changeset: f8fc7e

Re: RFR: 8357052: java/io/File/GetXSpace.java prints wrong values in exception

2025-05-20 Thread Arno Zeller
On Mon, 19 May 2025 20:19:25 GMT, Brian Burkhalter wrote: > @ArnoZeller Please issue the `/integrate` command so that this request may be > sponsored. Thanks for reviewing! - PR Comment: https://git.openjdk.org/jdk/pull/25250#issuecomment-2893448783

RFR: 8357052: java/io/File/GetXSpace.java prints wrong values in exception

2025-05-16 Thread Arno Zeller
When the test java/io/File/GetXSpace.java fails, because the usable space is greater than the free space, the values in the exception are not the correct ones. - Commit messages: - Use correct variables. Changes: https://git.openjdk.org/jdk/pull/25250/files Webrev: https://webre

Re: RFR: 8352419: Test tools/jpackage/share/ErrorTest.java#id0 and #id1 fail [v2]

2025-04-05 Thread Arno Zeller
On Tue, 1 Apr 2025 19:00:56 GMT, Alexey Semenyuk wrote: >> Make tools/jpackage/share/ErrorTest.java test safely handle the case when >> native bundling is unavailable on the test host. >> >> Additionally: >> - If native bundling is unavailable on the test host, PackageTest will >> throw `jtre

Re: RFR: 8352419: Test tools/jpackage/share/ErrorTest.java#id0 and #id1 fail

2025-04-01 Thread Arno Zeller
On Fri, 28 Mar 2025 15:02:05 GMT, Alexey Semenyuk wrote: > Make tools/jpackage/share/ErrorTest.java test safely handle the case when > native bundling is unavailable on the test host. > > Additionally: > - If native bundling is unavailable on the test host, PackageTest will throw > `jtreg.Ski

Re: RFR: 8352419: Test tools/jpackage/share/ErrorTest.java#id0 and #id1 fail

2025-03-31 Thread Arno Zeller
On Fri, 28 Mar 2025 15:02:05 GMT, Alexey Semenyuk wrote: > Make tools/jpackage/share/ErrorTest.java test safely handle the case when > native bundling is unavailable on the test host. > > Additionally: > - If native bundling is unavailable on the test host, PackageTest will throw > `jtreg.Ski

Re: RFR: 8314094: java/lang/ProcessHandle/InfoTest.java fails on Windows when run as user with Administrator privileges [v2]

2023-09-04 Thread Arno Zeller
On Fri, 1 Sep 2023 08:32:20 GMT, Christoph Langer wrote: >> On Windows, the test java/lang/ProcessHandle/InfoTest.java can fail when run >> as user that is member of the Administrators group. In that case new files >> are not owned by the user but instead by BUILTIN\ADMINISTRATORS. This breaks

Re: RFR: 8314094: java/lang/ProcessHandle/InfoTest.java fails on Windows when run as user with Administrator privileges

2023-08-30 Thread Arno Zeller
On Wed, 30 Aug 2023 15:58:37 GMT, Roger Riggs wrote: >> Yes, I think using System.getProperty("user.name") is brittle as well. If >> we'd use `com.sun.security.auth.module.NTSystem`, we would introduce the >> dependency to another module - `jdk.security.auth`. Not sure, whether this >> is a go

Re: RFR: 8314094: java/lang/ProcessHandle/InfoTest.java fails on Windows when run as user with Administrator privileges

2023-08-27 Thread Arno Zeller
On Fri, 25 Aug 2023 07:47:19 GMT, Arno Zeller wrote: >> test/jdk/java/lang/ProcessHandle/InfoTest.java line 304: >> >>> 302: if (Platform.isWindows() && >>> "BUILTIN\\Administrators".equals(whoami)) { >>> 303:

Re: RFR: 8314094: java/lang/ProcessHandle/InfoTest.java fails on Windows when run as user with Administrator privileges

2023-08-25 Thread Arno Zeller
On Wed, 16 Aug 2023 18:33:01 GMT, Roger Riggs wrote: >> On Windows, the test java/lang/ProcessHandle/InfoTest.java can fail when run >> as user that is member of the Administrators group. In that case new files >> are not owned by the user but instead by BUILTIN\ADMINISTRATORS. This breaks >>