On Wed, 8 Jul 2026 21:37:42 GMT, Justin Lu <[email protected]> wrote: >> Although chances are slim, technically this is a behavioral change. Maybe it >> is worth describing this in the CSR > > I will include this when I update the CSR. I am actually not sure what the > reason was with the original code to drop the extensions **and script**, when > we could just drop the extensions only via `stripExtensions`. Perhaps it > stems from the incorrect assumption in the comment that thought that block > could never actually be reached. I am not sure. Ultimately like you said this > is an edge case, so slim impact.
The reason was that the code is used to load the locale data resource bundle, where the script is not used (at that time), thus script was omitted. But you are right that there was no reason to do that. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/31728#discussion_r3547811216
