InternalError on Class.getPackage()

Alan Bateman Alan.Bateman at oracle.com
Tue Oct 20 01:04:58 UTC 2015


On 19/10/2015 22:58, Mandy Chung wrote:
> Hi Chris,
>
> Thanks for reporting this (this is not a known issue).
>
> java.lang.InternalError: unnamed package in named module java.base
>
> The case with the unnamed package defined by the boot loader is the 
> types from -Xbootclasspath/a.  Is -Xbootclasspath/a being used?
Definitely something not right here as it looks like a type defined to 
the boot loader that is in the unnamed package but it's module field set 
to java.base. It feels like a corruption issue, either that or somehow a 
type in the unnamed package was loaded really early (before java.base is 
defined) and has somehow been patched to in the java.base module.

-Alan


More information about the jigsaw-dev mailing list