Checkstyle: NoSuchMethodError does not catch

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Checkstyle: NoSuchMethodError does not catch

Benjamin Marwell
Hi,

might someone please explain why catching a NoSuchMethodError at runtime
does not work and we did not see this coming?
In my understanding the old 8.29 checkstyle version should only be a
compile dependency, but not a runtime dependency.

And the patch even was approved by two or three of you.

My guess is that the checkstyle team *compiles* with the new version or
watches errors which are catched.

https://github.com/apache/maven-checkstyle-plugin/pull/28#discussion_r386064511