mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-13 20:12:14 +00:00
Remove Java 11 ClassNotFoundException telemetry (#5666)
This commit is contained in:
1 parent
471f7c38c8
commit
c9eaf345d8
10 files changed
+23
-1267
No files matched your search
@@ -63,7 +63,6 @@ import jenkins.install.InstallUtil;
|
||||
import jenkins.model.Jenkins;
|
||||
import jenkins.plugins.DetachedPluginsUtil;
|
||||
import jenkins.security.CustomClassFilter;
|
||||
import jenkins.telemetry.impl.java11.MissingClassTelemetry;
|
||||
import jenkins.util.SystemProperties;
|
||||
import jenkins.util.io.OnMaster;
|
||||
import jenkins.util.xml.RestrictiveEntityResolver;
|
||||
@@ -2172,9 +2171,7 @@ public abstract class PluginManager extends AbstractModelObject implements OnMas
|
||||
loaded.put(name, null);
|
||||
}
|
||||
// not found in any of the classloader. delegate.
|
||||
ClassNotFoundException cnfe = new ClassNotFoundException(name);
|
||||
MissingClassTelemetry.reportException(name, cnfe);
|
||||
throw cnfe;
|
||||
throw new ClassNotFoundException(name);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user