8月 18, 2021

Strange parallel stream issue with BootJar

 Using spring boot 2.5.3 on OpenJDK11.

.

Been using Stream API for a while, wanted to cut a teeth on  ParallelStream

While this would work well in bootRun, it doesn't in bootJar.

When this is called in Jar, this exception occurs over here, only if the line 'parallel()' is here.


沒有留言:

張貼留言