Java's CountDownLatch type has a significant difference from .NET's CountdownEvent: calling countDown() (equivalent to Signal() in CountdownEvent) once the count reaches to zero does not throw an exception. To make porting Java code easier that uses CountDownLatch, J2N should add a corresponding CountdownLatch type (note the difference in casing to match .NET).
See apache/lucenenet#1311 (comment) and the code in that PR for a starting point, where the Harmony tests are already ported.
Java's CountDownLatch type has a significant difference from .NET's CountdownEvent: calling
countDown()(equivalent toSignal()in CountdownEvent) once the count reaches to zero does not throw an exception. To make porting Java code easier that uses CountDownLatch, J2N should add a correspondingCountdownLatchtype (note the difference in casing to match .NET).See apache/lucenenet#1311 (comment) and the code in that PR for a starting point, where the Harmony tests are already ported.