But I can't create a Managed Thread when using the ForkJoinPool.
And that's the problem with parallel streams. You cannot supply an executor to be used. Parallel streams are problematic especially in the context of Java EE. If possible, try to avoid using parallel streams.
|