-
Bug
-
Resolution: Fixed
-
P3
-
6u2, 7
-
b120
-
generic
-
generic
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2163409 | 6u14 | Alexander Potochkin | P3 | Closed | Won't Fix |
None of the following lines will cause IllegalArgumentException
GroupLayout groupLayout = new GroupLayout(new JPanel());
groupLayout.createParallelGroup(null);
groupLayout.createParallelGroup(null, true);
groupLayout.createParallelGroup(null, false);
While spec says for both methods:
Throws:
IllegalArgumentException - if alignment is null
GroupLayout groupLayout = new GroupLayout(new JPanel());
groupLayout.createParallelGroup(null);
groupLayout.createParallelGroup(null, true);
groupLayout.createParallelGroup(null, false);
While spec says for both methods:
Throws:
IllegalArgumentException - if alignment is null
- backported by
-
JDK-2163409 javax.swing.GroupLayout.createParallelGroup(..) doesn't throw IllegalArgumentException for null arg
- Closed