Why is such a check needed? This method only returns NULL reason if clazz.getPackage() == null and I think it makes sense in this branch where !proxiedBeanType.equals(Object.class).
Nevermind. I didn't see the check is there, like I sad I just looked at the fix and thought this is not quite right. |