Author: swd847
Date: 2010-07-30 21:07:01 -0400 (Fri, 30 Jul 2010)
New Revision: 6863
Modified:
java-se/trunk/src/main/java/org/jboss/weld/environment/se/discovery/url/WeldSEResourceLoader.java
Log:
improve comment on optional dep changes
Modified:
java-se/trunk/src/main/java/org/jboss/weld/environment/se/discovery/url/WeldSEResourceLoader.java
===================================================================
---
java-se/trunk/src/main/java/org/jboss/weld/environment/se/discovery/url/WeldSEResourceLoader.java 2010-07-31
01:01:13 UTC (rev 6862)
+++
java-se/trunk/src/main/java/org/jboss/weld/environment/se/discovery/url/WeldSEResourceLoader.java 2010-07-31
01:07:01 UTC (rev 6863)
@@ -55,7 +55,11 @@
// 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)
{
Show replies by date