On Tue, Feb 13, 2018 at 8:57 AM, Alan Bateman <alan.bate...@oracle.com> wrote:
> > > On 13/02/2018 13:03, Vitaly Davidovich wrote: > >> : >> 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? >> >> 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). Right, thanks Alan. While we're on the subject, when do you expect java.base to be fully encapsulated? > > > -Alan >