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
If 'try-with-resources' block throws checked exception from within a lambda, the lambda must catch or rethrow. The SneakyThrows annotation neuters this requirement. IDEA reports code as valid while compiler rejects.
Short description
If 'try-with-resources' block throws checked exception from within a lambda, the lambda must catch or rethrow. The SneakyThrows annotation neuters this requirement. IDEA reports code as valid while compiler rejects.
Expected behavior
Compile error should be visible from IDE.
Version information
Steps to reproduce
The text was updated successfully, but these errors were encountered: