Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Do not treat errors as decoder exception #7276
Motivation: Today when Netty encounters a general error while decoding it treats this as a decoder exception. However, for fatal causes this should not be treated as such, instead the fatal error should be carried up the stack without the callee having to unwind causes.
Modifications: Instead of translating any error to a decoder exception, we let those unwind out the stack (note that finally blocks still execute).
Result: Fatal errors will not be treated as innocent decoder exceptions.
No, this specific one is hurting us right now as some of our users are seeing decoder exceptions hiding out of memory errors and I want to get a fix in quickly. I can take a more careful look at the others soon.