Index: src/main/java/org/jboss/injection/lang/reflect/FieldBeanProperty.java =================================================================== --- src/main/java/org/jboss/injection/lang/reflect/FieldBeanProperty.java (revision 83164) +++ src/main/java/org/jboss/injection/lang/reflect/FieldBeanProperty.java (working copy) @@ -86,7 +86,8 @@ // value and target field CLs are not equal ClassLoader fieldLoader = field.getType().getClassLoader(); ClassLoader valueLoader = value.getClass().getClassLoader(); - boolean equalLoaders = fieldLoader.equals(valueLoader); + // Equal if both are null (some JDKs use this to represent Bootstrap CL), or they're equal - EJBTHREE-1694 + boolean equalLoaders = (fieldLoader==null && valueLoader==null) ? true : fieldLoader.equals(valueLoader); if (!equalLoaders) { log.error("Field Classloader: " + fieldLoader + "\nValue ClassLoader: " + valueLoader + "\nEqual Loaders: "