# | Line 140 | Line 140 | public class ExecutorsTest extends JSR16 | |
---|---|---|
140 | } | |
141 | ||
142 | /** | |
143 | < | * A new newFixedThreadPool with null ThreadFactory throws NPE |
143 | > | * A new newFixedThreadPool with null ThreadFactory throws |
144 | > | * NullPointerException |
145 | */ | |
146 | public void testNewFixedThreadPool3() { | |
147 | try { | |
# | Line 150 | Line 151 | public class ExecutorsTest extends JSR16 | |
151 | } | |
152 | ||
153 | /** | |
154 | < | * A new newFixedThreadPool with 0 threads throws IAE |
154 | > | * A new newFixedThreadPool with 0 threads throws IllegalArgumentException |
155 | */ | |
156 | public void testNewFixedThreadPool4() { | |
157 | try { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |