RFR 8011799: CompletableFuture/Basic.java fails intermittently (original) (raw)
Chris Hegarty chris.hegarty at oracle.com
Sun Apr 14 09:32:46 UTC 2013
- Previous message: hg: jdk8/tl/langtools: 8009686: Generated javadoc documentation should be able to display type annotation on an array
- Next message: RFR 8011799: CompletableFuture/Basic.java fails intermittently
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Silly mistake in the test. Incorrectly assumes that one of the given CompletableFutures must be completed before applyToEitherXXX / acceptEitherXXX / runAfterEitherXXX / anyOf returns. The correct assertion is that one of the given CompletableFutures must be completed before the return CompletableFuture completes.
With the given structure of the test this can be done by checking that one of the given CompletableFutures is complete after joining the returned CompletableFuture.
-Chris.
- Previous message: hg: jdk8/tl/langtools: 8009686: Generated javadoc documentation should be able to display type annotation on an array
- Next message: RFR 8011799: CompletableFuture/Basic.java fails intermittently
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]