JDK-8210153 : localized currency symbol of VES
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util:i18n
  • Affected Version: 12
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2018-08-29
  • Updated: 2020-03-09
  • Resolved: 2018-08-30
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 7 JDK 8 Other
11.0.2Fixed 7u221Fixed 8u221Fixed openjdk7uFixed
Related Reports
Relates :  
Description
java/text/Format/NumberFormat/CurrencyFormat.java failed with following exception:
java.lang.RuntimeException: Wrong currency symbol for locale es_VE, expected: Bs.F., got: VES
	at CurrencyFormat.testSymbols(CurrencyFormat.java:136)
	at CurrencyFormat.main(CurrencyFormat.java:47)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
	at java.base/java.lang.Thread.run(Thread.java:834)
Comments
Fix Request - Justification: update the currency data - Risk Analysis: low risk Apply cleanly on 11u forest, run test and passed on mach5.
13-09-2018

This test has been failing since early morning CET 29/8, every tier 2 run has these failures. Please fix this asap or at least problemlist the test.
29-08-2018

I wrote a simple test: import java.util.Locale; import java.text.DecimalFormatSymbols; public class LocaleTest { public static void main(String[] args) { DecimalFormatSymbols symbols = DecimalFormatSymbols.getInstance(new Locale("es","VE")); String result = symbols.getCurrencySymbol(); System.out.println(result); } } Run the test with the command: java -Djava.locale.providers=JRE,SPI LocaleTest The expected output is: "Bs.F." Actual output is: "VES"
29-08-2018