RFR: 8290471: jpackage: allow to specify codepage on Windows
Alexey Semenyuk
asemenyuk at openjdk.org
Mon Jul 18 23:05:50 UTC 2022
On Mon, 18 Jul 2022 22:33:15 GMT, Alex Kasko <akasko at openjdk.org> wrote:
> It is proposed to introduce support for `--win-codepage` argument, and substitute the `Codepage` attribute with `--win-codepage` specified value in primary l10n file when it is being copied to the config dir.
>
> Instead of copying all internal l10n files, it is proposed to copy only the primary file. Plain copy is used if `--win-codepage` is not specified. Otherwise `--win-codepage` value is substituted in l10n file using DOM and XPath.
>
> See more details in issue description and in links added there.
>
> Testing:
>
> - [x] ran `jtreg:jdk/tools/jpackage`
> - [x] test for `--win-codepage` argument is included with the patch
This is a proposal to change public API. It requires CSR.
One of jpackage CSRs - https://bugs.openjdk.org/browse/JDK-8261538. You can use it as a reference.
CSR wiki - https://wiki.openjdk.org/display/csr
-------------
PR: https://git.openjdk.org/jdk/pull/9546
More information about the core-libs-dev
mailing list