You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The refaster rule uncovered a few places where we were not logging failures, one of which hid a component that has been completely broken for months.
We should enforce this pre-merge instead of post-fixing with refaster
What did you want to happen?
New error level error prone rule to disallow ExecutorService.submit where the returned future is ignored in favor ExecutorService.execute.
For context, exceptions thrown from tasks supplied to ExecutorService.submit are not logged to the uncaught thread handler because it's assumed that the result will be read from the future. If the returned future is ignored, execute is strictly better.
The text was updated successfully, but these errors were encountered:
What happened?
The refaster rule uncovered a few places where we were not logging failures, one of which hid a component that has been completely broken for months.
We should enforce this pre-merge instead of post-fixing with refaster
What did you want to happen?
New error level error prone rule to disallow ExecutorService.submit where the returned future is ignored in favor ExecutorService.execute.
For context, exceptions thrown from tasks supplied to ExecutorService.submit are not logged to the uncaught thread handler because it's assumed that the result will be read from the future. If the returned future is ignored,
execute
is strictly better.The text was updated successfully, but these errors were encountered: