Defines a new package by name in this URLClassLoader
.
The attributes contained in the specified Manifest
will be used to obtain package version and sealing information.
For sealed packages, the additional URL specifies the code source URL
from which the package was loaded.
name | the package name | |
man | the Manifest containing package version and sealing
information | |
url | the code source url for the package, or null if none |
Package
object
IllegalArgumentException | if the package name is already defined by this class loader |
@revised 9
@spec JPMS
Diagram: ClassLoader