JDK-8170840 : java/util/Locale/LocaleTest.java failed with "Uncaught exception thrown in test method TestGetLangsAndCountries"
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util:i18n
  • Affected Version: 9
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2016-12-07
  • Updated: 2017-05-12
  • Resolved: 2016-12-08
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 9
9 b149Fixed
Related Reports
Relates :  
Relates :  
Description
----------messages:(4/214)----------
command: main -Djava.locale.providers=JRE,SPI LocaleTest
reason: User specified action: run main/othervm -Djava.locale.providers=JRE,SPI LocaleTest 
Mode: othervm [/othervm specified]
elapsed time (seconds): 0.513
----------configuration:(0/0)----------
----------System.out:(9/323)----------
LocaleTest {
  TestBasicGetters Passed
  TestSimpleResourceInfo Passed
  TestDisplayNames Passed
  TestSimpleObjectStuff Passed
  TestISO3Fallback Passed
  TestGetLangsAndCountries {
    Expected getISOCountries to return 250 countries; it returned 249
    Uncaught exception thrown in test method TestGetLangsAndCountries
----------System.err:(16/1046)----------
java.lang.RuntimeException: Uncaught exception thrown in test method TestGetLangsAndCountries
	at IntlTest.errImpl(IntlTest.java:198)
	at IntlTest.errln(IntlTest.java:185)
	at IntlTest.run(IntlTest.java:126)
	at LocaleTest.main(LocaleTest.java:191)
	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:538)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
	at java.base/java.lang.Thread.run(Thread.java:844)

Comments
relates to JDK-8071929
07-12-2016