2.12. Class Libraries

The Java Virtual Machine must provide sufficient support for the implementation of the class libraries of the Java SE platform. Some of the classes in these libraries cannot be implemented without the cooperation of the Java Virtual Machine.

Classes that might require special support from the Java Virtual Machine include those that support:

• Reflection, such as the classes in the package java.lang.reflect and the class Class.

• Loading and creation of a class or interface. The most obvious example is the class ClassLoader.

• Linking and initialization of a class or interface. The example classes cited above fall into this category as well.

• Security, such as the classes in the package java.security and other classes such ...

Get The Java® Virtual Machine Specification, Java SE 7 Edition, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.