[jdk18] Integrated: 8271447: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters
Erik Gahlin
egahlin at openjdk.java.net
Wed Dec 22 14:03:19 UTC 2021
On Wed, 22 Dec 2021 00:58:44 GMT, Erik Gahlin <egahlin at openjdk.org> wrote:
> Hi,
>
> On arabic locales, the filename of a repository file may become invalid.
>
> Fix is to format the filename using a StringBuilder instead of using String.format("%s_%02d%s", filename, counter, FILE_EXTENSION). A similar problem exists when using 'jfr disassemble <recording-file>', but it is much more unlikely to happen, so it will be fixed separately for JDK 19.
>
> Testing: jdk/jdk/jfr
>
> Thanks
> Erik
This pull request has now been integrated.
Changeset: e49d4a98
Author: Erik Gahlin <egahlin at openjdk.org>
URL: https://git.openjdk.java.net/jdk18/commit/e49d4a9870c19f55a1d5473743880b415a8ead3c
Stats: 13 lines in 1 file changed: 12 ins; 0 del; 1 mod
8271447: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters
Reviewed-by: mgronlun
-------------
PR: https://git.openjdk.java.net/jdk18/pull/64
More information about the hotspot-jfr-dev
mailing list