提交 ce0a36ff 编写于 作者: K Kohsuke Kawaguchi

[FIXED JENKINS-14982]

Groovy should use uberClassLoader for resolving stuff.
上级 07198294
......@@ -55,6 +55,9 @@ Upcoming changes</a>
<!-- Record your changes in the trunk here. -->
<div id="trunk" style="display:none"><!--=TRUNK-BEGIN=-->
<ul class=image>
<li class=bug>
'groovysh' command should be able to see all the plugin classes.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-14982">issue 14982</a>)
<li class=bug>
Handle version ranges in automatic maven module dependency wiring.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-12735">issue 12735</a>)
......
......@@ -82,7 +82,7 @@ public class GroovyshCommand extends CLICommand {
IO io = new IO(new BufferedInputStream(stdin),stdout,stderr);
final ClassLoader cl = Thread.currentThread().getContextClassLoader();
final ClassLoader cl = Jenkins.getInstance().pluginManager.uberClassLoader;
Closure registrar = new Closure(null, null) {
private static final long serialVersionUID = 1L;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册