RFR 8217339: ClassCircularityError loading NumberFormatProvider

Roger Riggs Roger.Riggs at oracle.com
Tue Jan 22 20:08:41 UTC 2019

A ClassCircularityError can occur via the ClassDescriptor code that uses 
String.format to
concatenate strings.

Please review a change to use string concatenation or a known locale 
of the default locale in calls to String.format.

The java.lang.constant APIs can be used early in the startup sequence before
the Locales and providers are initialized.

See the bug report for the full stack trace.

I have not found a reproducer for jdk 12, it only occurs on new work for 
jdk 13.


Thanks, Roger

More information about the core-libs-dev mailing list