RFR: 8265106: IGV: Enforce en-US locale while parsing ideal graph

Roberto Castañeda Lozano rcastanedalo at openjdk.java.net
Mon Apr 19 08:07:33 UTC 2021


On Mon, 19 Apr 2021 04:48:07 GMT, Yi Yang <yyang at openjdk.org> wrote:

> IGV is designed to support parsing incomplete XML. However, it does not work for non-English users. See #3071 for detailed reasons. This patch would address it.
> 
> (P.S. Locale.ENGLISH also does not work, see  Philip Helger' [comment](https://stackoverflow.com/questions/18531633/locale-specific-messages-in-xerces-2-11-0-java) on the first answer.)

Hi Yang, I tested this on Linux by opening a file missing closing `group` and `graphDocument` tags ([incomplete.xml](https://bugs.openjdk.java.net/secure/attachment/94215/incomplete.zip)), and it works for the following configurations:
- JDK versions 8, 11, and 15
- `export LC_ALL=es_ES.UTF-8`, `export LC_ALL=en_US.UTF-8`

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

PR: https://git.openjdk.java.net/jdk/pull/3563


More information about the hotspot-compiler-dev mailing list