# | Line 1138 | Line 1138 | public class JSR166TestCase extends Test | |
---|---|---|
1138 | } | |
1139 | ||
1140 | /** | |
1141 | + | * The maximum number of consecutive spurious wakeups we should |
1142 | + | * tolerate (from APIs like LockSupport.park) before failing a test. |
1143 | + | */ |
1144 | + | static final int MAX_SPURIOUS_WAKEUPS = 10; |
1145 | + | |
1146 | + | /** |
1147 | * The number of elements to place in collections, arrays, etc. | |
1148 | */ | |
1149 | public static final int SIZE = 20; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |