@ Trivial public static < U > CompletableFuture < U > supplyAsync ( Supplier < U > action ) { throw new UnsupportedOperationException ( Tr . formatMessage ( tc , "CWWKC1156.not.supported" , "ManagedExecutor.supplyAsync" ) ) ; }
Because CompletableFuture . supplyAsync is static this is not a true override . It will be difficult for the user to invoke this method because they would need to get the class of the CompletableFuture implementation and locate the static supplyAsync method on that .