Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8206751 | 12 | Alan Bateman | P3 | Resolved | Fixed | team |
JDK-8206534 | 11.0.1 | Alan Bateman | P3 | Resolved | Fixed | b01 |
If the VM is started with --limit-modules and the attach API is used to start a JMX agent then the java.management and java.rmi modules will be loaded into a child layer. Calling getPackage on any of the classes in these modules will fail with InternalError as the boot loader implementation of definePackage assumes that if a class is defined to the boot loader in a named module then the named module is in the boot layer.
- backported by
-
JDK-8206534 Class.getPackage() fails with InternalError if class is defined to the boot class loader but module is not in the boot layer
- Resolved
-
JDK-8206751 Class.getPackage() fails with InternalError if class is defined to the boot class loader but module is not in the boot layer
- Resolved