RFR: 8139067: Re-examine if a consumer module should load bundles from unnamed module

Mandy Chung mandy.chung at oracle.com
Fri Oct 30 01:52:36 UTC 2015

> On Oct 29, 2015, at 4:55 PM, Masayoshi Okutsu <masayoshi.okutsu at oracle.com> wrote:
> Hello,
> Please review the change for JDK-8139067. A consumer module (ResourceBundle.getBundle caller) will no longer load resource bundles from the class-path if the consumer module is a named module. Test programs, basic and modlocal, have been changed to confirm .properties bundles are not loaded from a jar file on the class-path.The webrev also include some cleanup of @bug and @summary for the test programs.
> Issue: https://bugs.openjdk.java.net/browse/JDK-8139067
> Webrev: http://cr.openjdk.java.net/~okutsu/9/8139067/webrev.00

The ResourceBundleProviderSupport change looks good to me.  It is reasonable to expect that the consumer of the resource bundles and the bundle modules should migrate to named module at the same time.  Resource bundles are generally application-specific. 


More information about the jigsaw-dev mailing list