RFR: 8358066: Non-ascii package names gives compilation error "import requires canonical name" [v2]

Jan Lahoda jlahoda at openjdk.org
Wed Jun 4 05:01:19 UTC 2025


On Mon, 2 Jun 2025 19:05:37 GMT, Archie Cobbs <acobbs at openjdk.org> wrote:

>> A simple counting bug in `Convert.utfNumChars()` causes bogus compiler errors for `import` statements of non-ASCII class names when the compiler is configured to use one of the older UTF-8 based `Name` table implementations (e.g., by specifying the `-XDuseUnsharedTable=true` flag).
>
> Archie Cobbs has updated the pull request incrementally with two additional commits since the last revision:
> 
>  - Fix glitch in exception message.
>  - Simplify code using review suggestion.

Tests (tier1-3) passed, so OK to integrate, I think. Thanks!

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

PR Comment: https://git.openjdk.org/jdk/pull/25567#issuecomment-2938534822


More information about the compiler-dev mailing list