88 |
|
} |
89 |
|
|
90 |
|
/** |
91 |
< |
* Registering any more then 65536 parties causes IllegalStateExceptiom |
91 |
> |
* Registering more than 65536 parties causes IllegalStateException |
92 |
|
*/ |
93 |
|
public void testRegister2() { |
94 |
|
Phaser phaser = new Phaser(0); |
137 |
|
|
138 |
|
/** |
139 |
|
* Invoking bulkRegister with a negative parameter throws an |
140 |
< |
* IllegalArgumentExceptiom |
140 |
> |
* IllegalArgumentException |
141 |
|
*/ |
142 |
|
public void testBulkRegister1() { |
143 |
|
try { |
158 |
|
} |
159 |
|
|
160 |
|
/** |
161 |
< |
* Registering with a number of parties greater then or equal to 1<<16 |
162 |
< |
* throws IllegalStateExceptiom. |
161 |
> |
* Registering with a number of parties greater than or equal to 1<<16 |
162 |
> |
* throws IllegalStateException. |
163 |
|
*/ |
164 |
|
public void testBulkRegister3() { |
165 |
|
try { |