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
Test testToString fails with locale set to de_DE.UTF-8 #375
Failed tests: testToString(com.microsoft.java.debug.core.adapter.formatter.NumericFormatterTest): NumericFormatter should be able to format double correctly. expected:<111[.]000000> but was:<111[,]000000>
This looks like it could be caused by my locale? It's set to de_DE.UTF-8
Edit: Yes it is caused by my locale, setting LC_ALL=en_US.UTF-8 makes it compile without issue
Reacted by Simon, Nemanja Lakicevic and Toni Müller
I am experiencing the same issue, even though locale is en_US and am unable to build the project.
Error message:
Failed tests: testToString(com.microsoft.java.debug.core.adapter.formatter.NumericFormatterTest): NumericFormatter should be able to format double correctly. expected:<111[.]000000> but was:<111[,]000000>
Hi zupatisc, I'm an AI Support assistant here to help with your issue. While the team reviews your request, I wanted to provide some possible tips and documentation that might help you in the meantime.
Suggestions
Enforce a consistent locale when formatting numbers:
The team will respond to your issue shortly. I hope these suggestions are helpful in the meantime. If this comment helped you, please give it a 👍. If the suggestion was not helpful or incorrect, please give it a 👎. Your feedback helps us improve!
Activity
[-]Test testToString fails[/-][+]Test testToString fails with locale set to de_DE.UTF-8[/+]nela commentedon Feb 9, 2022
I am experiencing the same issue, even though locale is
en_USand am unable to build the project.Error message:
Locale:
Java Version:
OS:
macOs 12.1 Monterey
mweisshaupt1988 commentedon Aug 4, 2022
This affects me too. The test should not assume that the separator for double is '.'
OS:
Ubuntu 20.04
Locale:
env | grep LC
LC_ADDRESS=de_DE.UTF-8
LC_NAME=de_DE.UTF-8
LC_MONETARY=de_DE.UTF-8
LC_PAPER=de_DE.UTF-8
LC_IDENTIFICATION=de_DE.UTF-8
LC_TELEPHONE=de_DE.UTF-8
LC_MEASUREMENT=de_DE.UTF-8
LC_TIME=de_DE.UTF-8
LC_NUMERIC=de_DE.UTF-8
github-actions commentedon Nov 14, 2025
Hi zupatisc, I'm an AI Support assistant here to help with your issue. While the team reviews your request, I wanted to provide some possible tips and documentation that might help you in the meantime.
Suggestions
Enforce a consistent locale when formatting numbers:
pom.xml:mvn test -Duser.language=en -Duser.country=USUpdate your formatter to use a locale-specific API, e.g.:
Duplicate
Other references with low confidence
The team will respond to your issue shortly. I hope these suggestions are helpful in the meantime. If this comment helped you, please give it a 👍. If the suggestion was not helpful or incorrect, please give it a 👎. Your feedback helps us improve!