Closed
Description
Setting the system property javascalautils.concurrent.executorprovider
referring to a class implementing the ExecutorProvider
will result in a ClassCastException being thrown by the Executors.createDefaultExecutor
method.
The result of the ReflectionUtil.newInstance
contains a ExecutorProvider
and not a Executor
as the resulting Try expects. There's a missing map operation that will invoke the create
method