klyn.SystemClassLoader.loadPackageTypes
method
public native override loadPackageTypes(name as String) as Void
Description

Implements the package-loading extension point inherited from ClassLoader.

Custom class loaders override this method; applications should normally call loadPackage() or the static ClassLoader.loadPackage() facade.

Parameters
ParameterDescription
namePackage name to load.
Throws
  • ValueException if the package name is empty or malformed.
  • ClassNotFoundException if the package is absent from the active class path.
Example
SystemClassLoader.instance.loadPackageTypes("klyn.collections")