<Beans Dev> beans-dev post from tamasflaviu at gmail.com requires approval

sergey malenkov sergey.malenkov at oracle.com
Fri Feb 14 08:36:38 UTC 2014


Could you please provide a test case that throws NPE?

> introduced a NullPointerException is some cases with
> `isAssignable(Class<?> current, Class<?> candidate)` when candidate
> is null. This happens in `if (isAssignable(gpd.getPropertyType(),
> pd.getPropertyType())) {`, leading to a NPE being thrown.
> This does not occur in Java 7 and is not documented in any way.


More information about the beans-dev mailing list