-
Bug
-
Resolution: Unresolved
-
P4
-
None
-
6
-
Cause Known
-
generic
-
generic
The behavior of methods from LayoutManager, LayoutManager2 taking null parameter is undefined in the documentation. Almost all methods (minimumLayoutSize, maximumLayoutSize, preferredLayoutSize, layoutContainer...) throw NPE in this case, but invalidateLayout, removeLayoutComponent doesn't throw any exception. Is it correct behavior?
This should be documented in LayoutManager, LayoutManager2 and all implementing classes.
This should be documented in LayoutManager, LayoutManager2 and all implementing classes.