Chapter 4. Secure Class Loading
... sometimes it is necessary ... to consider men as a class, yet in the long run our safety lies in recognizing the individual’s worth or lack of worth as the chief basis of action, and in shaping our whole conduct ... accordingly.
—Theodore Roosevelt
Dynamic class loading, a fundamental feature of the Java virtual machine, enables the Java platform to install software components at runtime [74]. This feature has a number of interesting characteristics. One is lazy loading, which means that classes are loaded on demand and as they are needed to resolve links. Type-safe linkage is the mechanism by which the Java virtual machine maintains type safety. It does so by adding link-time checks, which are performed ...
Get Inside Java™ 2 Platform Security: Architecture, API Design, and Implementation, Second 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.