For some reason, specific locales, such as the ones for dates and currency, seem to be incorrect.
I am running Windows with an english language pack, but german formats for number, date, currency and so on.
Java does have support for this, but for some reason this isn't being supplied correctly. This did not happen with maven, so it seems to be somehow related to gradle / the gradle script.
The locales are present in the given JDK, confirmed via Locale.getAvailableLocales().
For some reason, specific locales, such as the ones for dates and currency, seem to be incorrect.
I am running Windows with an english language pack, but german formats for number, date, currency and so on.
Java does have support for this, but for some reason this isn't being supplied correctly. This did not happen with maven, so it seems to be somehow related to gradle / the gradle script.
The locales are present in the given JDK, confirmed via
Locale.getAvailableLocales()
.The same works correctly in jshell however: