Changed behaviour of ResourceBundle#getBundle()

Alan Bateman Alan.Bateman at oracle.com
Mon Dec 12 16:57:10 UTC 2016


On 12/12/2016 15:29, Gunnar Morling wrote:

> :
>
> It seems to be related to the fact that the bundle is located in the 
> default package, because the expected exception is raised if the 
> bundle is located in a proper package.
>
Right, resources in the unnamed package or with names that don't map to 
packages in the module are not encapsulated. So what you are seeing is 
correct.

-Alan


More information about the jigsaw-dev mailing list