New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fork join execution context loses fatal exceptions #7029
Comments
Imported From: https://issues.scala-lang.org/browse/SI-7029?orig=1 |
@retronym said: |
@jroper said: |
@viktorklang said: |
@viktorklang said (edited on Jan 31, 2013 3:30:17 PM UTC): |
@phaller said: |
@viktorklang said: |
@phaller said: |
The fork join execution context loses fatal exceptions. It should allow them to be handled by the threads uncaught exception handler, so that they can be logged. But it doesn't, they get lost, not reported anywhere. Here is an example in the repl:
Nothing happens. What I expected is for my NotImplementedError to be at least handled by the uncaught exception handler, and logged. Now, I know the uncaught exception handler is there and working:
And if I use a different execution context, such as a Java executor, it works as expected:
The text was updated successfully, but these errors were encountered: