[JENKINS-57223] - Java11 ClassNotFoundExceptions Telemetry (#4003)
* Proof of concept catching exceptions for java 11 removed classes * Add ClassLoader to a lot of places. Backup * Commenting out wip stuff, change packages, count hits findClass * Improvements, sending and tests * Removing the catcher from chain to make funcional tests work * Removing ignored places and a bit of cleaning * Cleaning unused code after removing the catcher from the chain * Remove imports cleaning to avoid extra changes * Cleaning and explaining comments * Explaining comments * fix javadoc * [JENKINS-57223] Address feedback from Matt Sicker. Improve in concurrency * [JENKINS-57223] Search on cause and suppressed exceptions and fix on name reported * [JENKINS-57223] Add cycles control on exceptions and refactor reporting method * [JENKINS-57223] Add trim to class name comparison * [JENKINS-57223] Address Oleg's feedback and some improvements * Avoid sending CNFE when ignored later in code * Disable when running on Java 8 and a test * Avoid sending empty events * [JENKINS-57223] Polish assertion after printing all missing classes in logs * [JENKINS-57223] Avoid extra if and add curly braces * [JENKINS-57223] Better comment about time window check
Please register or sign in to comment