This bug seems to have been fixed in newer versions; I now have:

$ dpkg -S $(readlink -f $(which java))
openjdk-17-jre-headless:amd64: /usr/lib/jvm/java-17-openjdk-amd64/bin/java

$ java -version
openjdk version "17.0.1" 2021-10-19
OpenJDK Runtime Environment (build 17.0.1+12-Ubuntu-120.04)
OpenJDK 64-Bit Server VM (build 17.0.1+12-Ubuntu-120.04, mixed mode, sharing)

and get (using the same test example as listed above):

$ LANG=nb_NO.utf8 java -cp . -XX:FlightRecorderOptions=stackdepth=256 
JfrOptLocBugRepro
1 234 567,09

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1892340

Title:
  Setting Java Flight Recorder option forces English locale

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-lts/+bug/1892340/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to