Skip to content

Commit

Permalink
[FIXED JENKINS-14982]
Browse files Browse the repository at this point in the history
Groovy should use uberClassLoader for resolving stuff.
  • Loading branch information
kohsuke committed Sep 1, 2012
1 parent 0719829 commit ce0a36f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions changelog.html
Expand Up @@ -55,6 +55,9 @@
<!-- 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>)
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/java/hudson/cli/GroovyshCommand.java
Expand Up @@ -82,7 +82,7 @@ protected Groovysh createShell(InputStream stdin, PrintStream stdout,

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;

Expand Down

0 comments on commit ce0a36f

Please sign in to comment.