United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7189611 Venezuela current Currency should be Bs.F.
JDK-7189611 : Venezuela current Currency should be Bs.F.

Details
Type:
Bug
Submit Date:
2012-08-07
Status:
Closed
Updated Date:
2013-08-05
Project Name:
JDK
Resolved Date:
2012-08-27
Component:
globalization
OS:
linux_ubuntu
Sub-Component:
locale-data
CPU:
x86
Priority:
P4
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:

Related Reports
Backport:
Backport:
Relates:
Relates:

Sub Tasks

Description
FULL PRODUCT VERSION :
openjdk version "1.8.0-internal-debug"
OpenJDK Runtime Environment (build 1.8.0-internal-debug-deven_2012_06_18_17_23-b00)
OpenJDK Server VM (build 24.0-b13-jvmg, mixed mode)


ADDITIONAL OS VERSION INFORMATION :
Linux deven 3.2.0-27-generic #43-Ubuntu SMP Fri Jul 6 14:46:35 UTC 2012 i686 i686 i386 GNU/Linux

A DESCRIPTION OF THE PROBLEM :
Venezuela currency has been changed to BS.F.

  From either wikipedia or windows config, "Bs.F." rather than "BsF." and "Bs.F" should be used. Hence, I think the patch should be modified.
-VEF=BsF.
+VEF=Bs.F.

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
import java.util.Locale;
import java.util.Currency;
import java.text.NumberFormat;

public class VECurrencyTest {
    public static void  main(String[] args) throws Exception {
        String expectedResult = "Bs.F.100";
        Locale veLocale = new Locale("es", "VE");
        NumberFormat cnf = NumberFormat.getCurrencyInstance(veLocale);

        String result = cnf.format(100);
        System.out.println("The acutal result is " + result);
        if (! expectedResult.equals(result)) {
            throw new Exception("The correct currency expression should be BS.F.100");
        }
    }
}


EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Bs.F.100
ACTUAL -
Bs.F100

REPRODUCIBILITY :
This bug can be reproduced always.

                                    

Comments
EVALUATION

Daven (###@###.###) will fix it. I will update the status according to his fix progress.

According to CLDR 21, the symbol of VEF should be BS.F.
                                     
2012-08-08
EVALUATION

Verified that the fix has been delivered into b52: http://hg.openjdk.java.net/jdk8/jdk8/jdk/log
                                     
2012-08-22



Hardware and Software, Engineered to Work Together