On 13/02/2018 13:03, Vitaly Davidovich wrote:
It works because the sun.security.util.AuthResources resource bundle for the default locale is in java.base. You'll get MissingResourceException once java.base is fully encapsulated (testing with --illegal-access=deny to try it).: So I tried calling getBundle(..., Object.class.getModule()), and that worked - great. Interestingly, I didn't have to add-opens (or add-export for that matter). Is that expected?