hg: jdk/submit: 8205533: Class.getPackage() fails with InternalError if class is defined to the bootstrap class loader but module is not in the boot layer

alan.bateman at oracle.com alan.bateman at oracle.com
Sun Jun 24 15:27:16 UTC 2018


Changeset: 6c306d54366d
Author:    alanb
Date:      2018-06-24 16:25 +0100
URL:       http://hg.openjdk.java.net/jdk/submit/rev/6c306d54366d

8205533: Class.getPackage() fails with InternalError if class is defined to the bootstrap class loader but module is not in the boot layer
Reviewed-by: mchung

! src/java.base/share/classes/jdk/internal/loader/BootLoader.java
! src/java.base/share/classes/jdk/internal/module/Modules.java
+ test/jdk/java/lang/Class/GetPackageBootLoaderChildLayer.java



More information about the jdk-submit-changes mailing list