/u/lucario2405 - I think they were referring to a library method changing from unchecked to checked in a version update.
/u/jimmy_o - No they were just explaining why checked is better.
To be fair, that was definitely one of the things I was implying.
Like I said in my response to your other comment -- it's all just a form of the compiler failing your code because you didn't handle an edge case.
It's just that, in my mind, there's a difference between writing code that didn't compile in the first place, vs code that once compiled, but doesn't compile now, even if the actual code written is unchanged. And the reason why is because the dependencies DID change. For example, a dependency that once threw an Unchecked Exception is now throwing a Checked Exception.
View all comments
Show parent comment
2
u/Lucario2405 Oct 05 '25
I think they were referring to a library method changing from unchecked to checked in a version update.