On Thu, 16 Mar 2023 20:43:38 GMT, Naoto Sato <na...@openjdk.org> wrote:

> This is a blocker for 
> [JDK-8294972](https://bugs.openjdk.org/browse/JDK-8294972). The fix is to 
> weed out non-class files for calling `ClassReader` by checking the file 
> extension. Regression tests are not provided as it is not possible to detect 
> the fix from the artifact jimage, but manually confirmed it would effectively 
> weed out `LineBreakIteratorData_th`, `WordBreakIteratorData_th`, and 
> `thai_dict` files by running `IncludeLocalesPluginTest.java`.

This pull request has now been integrated.

Changeset: 4486f1b7
Author:    Naoto Sato <na...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/4486f1b72047dcdb2877cb3c9b4ca02f6cd008e9
Stats:     3 lines in 1 file changed: 1 ins; 0 del; 2 mod

8304367: jlink --include-locales=* attempts to parse non .class resource files 
with classfile reader

Reviewed-by: mchung, lancea, jpai

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

PR: https://git.openjdk.org/jdk/pull/13067

Reply via email to