JDK-6647063 : java/text/Format/NumberFormat/CurrencyFormat.java fails
  • Type: Bug
  • Component: other-libs
  • Sub-Component: other
  • Affected Version: 6u5
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_9
  • CPU: sparc
  • Submitted: 2008-01-04
  • Updated: 2012-08-06
  • Resolved: 2008-01-22
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 6 JDK 7 Other
6u5 b11Fixed 7Fixed OpenJDK6Fixed
Related Reports
Relates :  
Description
JDK		    : Fails:  6u5 b10
Platform[s]         : Fails On: Solaris Sparc 9
		      Passes On: Solaris Sparc 10
Failing Test [s]    : java/text/Format/NumberFormat/CurrencyFormat.java


    Test output:
    ============
----------System.out:(10/623)----------
Warning: No expected currency symbol defined for locale ja_JP_JP
Warning: No expected currency symbol defined for locale sr_BA
Warning: No expected currency symbol defined for locale el_CY
Warning: No expected currency symbol defined for locale en_MT
Warning: No expected currency symbol defined for locale sr_CS
Warning: No expected currency symbol defined for locale ga_IE
Warning: No expected currency symbol defined for locale sr_RS
Warning: No expected currency symbol defined for locale es_US
Warning: No expected currency symbol defined for locale ar_SD
Warning: No expected currency symbol defined for locale in_ID

----------System.err:(14/904)----------
java.lang.RuntimeException: Wrong currency symbol for locale es_VE, expected: Bs, got: BsF.
	at CurrencyFormat.testSymbols(CurrencyFormat.java:87)
	at CurrencyFormat.main(CurrencyFormat.java:19)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:78)
	at java.lang.Thread.run(Thread.java:619)

JavaTest Message: Test threw exception: java.lang.RuntimeException: Wrong currency symbol for locale es_VE, expected: Bs, got: BsF.
JavaTest Message: shutting down test

Comments
SUGGESTED FIX $ diff /export4/integration/6u5/j2se/test/java/text/Format/NumberFormat/CurrencySymbols.properties CurrencySymbols.properties 68c68 < es_VE=Bs --- > es_VE=BsF.
04-01-2008

EVALUATION Fix of bug # 6570259 went into 6u4 b02 but the testcase was not modified. This testcase is failing with 6u4-b12 build also. Testcase need to be modified accordingly.
04-01-2008