Name: dkC59003 Date: 06/25/99
Online documentation shipped with JDK releases 1.1.x and 1.2.x contains
the following incorrect statement for the IllegalAccessException:
Thrown when an application tries to load in a class through its string name using:
* The forName method in class Class.
* The findSystemClass method in class ClassLoader.
* The loadClass method in class ClassLoader.
but the currently executing method does not have access to the definition of the
specified class, because the class is not public and in another package.
Indeed, none of the mentioned methods throw IllegalAccessException.
======================================================================
Name: dkC59003 Date: 06/25/99
So, online doc for IllegalAccessException contradicts to docs for the methods:
Class.forName()
ClassLoader.findSystemClass()
ClassLoader.loadClass()
because online documentation for these methods does not state that they
may throw IllegalAccessException.
======================================================================