JDK-8226869 : Test java/util/Locale/LocaleProvidersRun.java should enable assertions
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util:i18n
  • Affected Version: 12,13,14
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-06-27
  • Updated: 2020-04-08
  • Resolved: 2019-06-28
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 13 JDK 14
11.0.6Fixed 13 b28Fixed 14Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Description
Refactoring the test java/util/Locale/LocaleProviders.sh to java/util/Locale/LocaleProvidersRun.java with JDK-8210403 missed taking over to enable Java level assertions for its subtests.
However, since the implementation of sun/util/locale/provider makes use of assertions, it should definitely be enabled to catch errors and regressions during testing.

In fact, JDK-8218960 has introduced an issue for Windows that was not uncovered by jtreg testing.
Comments
Fix request (11u) Requesting backport of this item after JDK-8210403 was backported. Without this test fix, assertion errors can be shadowed. Risk is very low.
11-11-2019