Skip to content

Commit

Permalink
improve comment on optional dep changes
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartwdouglas committed Jul 31, 2010
1 parent 2fa44a3 commit 8c99a76
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -55,7 +55,11 @@ public Class<?> classForName(String name)
// then a CNFE can be thrown later in the deployment process when the
// Introspector is inspecting the class. We call getMethods, getFields
// and getConstructors now over the whole type heirachey to force
// these errors to occur early
// these errors to occur early.
// NOTE it is still possible for a CNFE to be thrown at runtime if
// a class has methods that refer to classes that are not present in
// their bytecode, this only checks for classes that form part of the
// class schema that are not present
Class<?> obj = clazz;
while (obj != null && obj != Object.class)
{
Expand Down

0 comments on commit 8c99a76

Please sign in to comment.