GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |
GeezerVison is showing github.com — [java] Fix #6038: Make AvoidCatchingGenericException configurable by UncleOwen · Pull Request #6051 · pmd/pmd Conversation
|
|
Compared to main: (comment created at 2025-10-23 15:11:34+00:00 for 9995420) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Code changes look good. Should the rule AvoidCatchingGenericException still be in the design category, or should we move it to error prone? (Can be done in a backwards compatible way - https://docs.pmd-code.org/latest/pmd_devdocs_rule_deprecation_policy.html#moving-rules-between-categories )
See #6038 (comment)
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Add java.lang.Throwable and java.lang.Error to the default list
activate AvoidCatchingGenericException in quickstart.xml, but configure it so that it is roughly equivalent to the old config.
Technically speaking, Error and Throwable aren't Exceptions, so we shouldn't refer to them as such.
32e4781 to
3f952d0
Compare
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
[java] Merge AvoidCatchingNPE and AvoidCatchingThrowable into AvoidCatchingGenericException
There was an error while loading. Please reload this page.