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
There is currently METHOD_NOW_THROWS_CHECKED_EXCEPTION inspection for addition of checked exceptions into method signature.
However, there does not seem to be an inspection for checked exception removal from method signature.
Imagine the following case:
If throws IOException is removed, clientMethod will not compile anymore, so it's definitely at least source compatibility violation. I am not sure about binary compatibility here.
I might be missing something, but I expect such change to be detected as a breaking change by the plugin and it's currently not detected to the best of my understanding.
Thanks in advance
The text was updated successfully, but these errors were encountered:
There is currently
METHOD_NOW_THROWS_CHECKED_EXCEPTION
inspection for addition of checked exceptions into method signature.However, there does not seem to be an inspection for checked exception removal from method signature.
Imagine the following case:
If
throws IOException
is removed,clientMethod
will not compile anymore, so it's definitely at least source compatibility violation. I am not sure about binary compatibility here.I might be missing something, but I expect such change to be detected as a breaking change by the plugin and it's currently not detected to the best of my understanding.
Thanks in advance
The text was updated successfully, but these errors were encountered: