RFR: 8372710: Update ProcessBuilder/Basic regex
Aleksey Shipilev
shade at openjdk.org
Fri Nov 28 08:27:48 UTC 2025
On Fri, 12 Sep 2025 06:27:56 GMT, Harshit470250 <duke at openjdk.org> wrote:
> The exception format was changed by [JDK-8352533](https://github.com/openjdk/jdk/pull/24149). This pr implement those changes for the PERMISSION_DENIED_ERROR_MSG and NO_SUCH_FILE_ERROR_MSG.
> Similar changes was also done here [ibmruntimes/openj9-openjdk-jdk25/commit/51102b1](https://github.com/ibmruntimes/openj9-openjdk-jdk25/pull/40) done by @theresa-m
Ah yes, OK, the change you mentioned did this:
-#define IOE_FORMAT "error=%d, %s"
+#define IOE_FORMAT "%s, error: %d (%s) %s"
...so we now need the `:` instead of `=`. I am somewhat surprised it never failed in our testing before.
-------------
Marked as reviewed by shade (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/27244#pullrequestreview-3517910183
More information about the core-libs-dev
mailing list