提交 f6178f4b 编写于 作者: J Jesse Glick

Attempting to be more robust against problems initializing this class.

https://jenkins.ci.cloudbees.com/job/core/job/jenkins_main_trunk/896/testReport/junit/hudson.tools/ToolLocationNodePropertyTest/testFormRoundTrip/
java.lang.NoClassDefFoundError: Could not initialize class hudson.model.ComputerSet
	at jenkins.model.Jenkins.getComputer(Jenkins.java:1107)
上级 487a98af
......@@ -426,8 +426,8 @@ public final class ComputerSet extends AbstractModelObject implements Describabl
r.add(i);
}
monitors.replaceBy(r.toList());
} catch (IOException e) {
LOGGER.log(Level.WARNING, "Failed to instanciate NodeMonitors",e);
} catch (Throwable x) {
LOGGER.log(Level.WARNING, "Failed to instantiate NodeMonitors", x);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册