You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
testRemoveAndReleaseFromCompoundPool fails when user locale is en_DEÂ #13419
Java version/vendor(use: java -version)
openjdk version "21.0.8" 2025-07-15
OpenJDK Runtime Environment Homebrew (build 21.0.8)
OpenJDK 64-Bit Server VM Homebrew (build 21.0.8, mixed mode, sharing)
java.util.Locale.getDefault() is en_DE
OS type/version
macOS 15.5 (24F74)
Description
Good evening, the following test fails when I run "mvn install" on my Macbook Air M1 with Homebrew OpenJDK 21 and en_DE locale, because "50,000%" is not matching the expected "50.000%" (comma vs period):
[ERROR] org.eclipse.jetty.io.ArrayByteBufferPoolTest.testRemoveAndReleaseFromCompoundPool -- Time elapsed: 0.014 s <<< FAILURE!
java.lang.AssertionError:
Expected: a string containing "[capacity=4096,in-use=0/0,pooled/acquires/releases=512/1024/1024(50.000%),non-pooled/evicts/removes=0/0/512]"
How to reproduce?
cd jetty-core/jetty-io
mvn clean test -Dtest=ArrayByteBufferPoolTest -Dmaven.build.cache.enabled=false
Here are the logs (please wait for my upcoming PR):
Activity
Issue #13419 - Fix locale formatting: add Locale.ROOT to %f and Decim…