You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by su...@apache.org on 2017/12/04 08:16:23 UTC
groovy git commit: Fix the failing build
Repository: groovy
Updated Branches:
refs/heads/GROOVY_2_5_X e88639406 -> 94dd461e1
Fix the failing build
Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/94dd461e
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/94dd461e
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/94dd461e
Branch: refs/heads/GROOVY_2_5_X
Commit: 94dd461e1602d1ad3da89da3dc3350181c466a62
Parents: e886394
Author: sunlan <su...@apache.org>
Authored: Mon Dec 4 16:15:30 2017 +0800
Committer: sunlan <su...@apache.org>
Committed: Mon Dec 4 16:15:30 2017 +0800
----------------------------------------------------------------------
src/main/org/codehaus/groovy/control/ProcessingUnit.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/groovy/blob/94dd461e/src/main/org/codehaus/groovy/control/ProcessingUnit.java
----------------------------------------------------------------------
diff --git a/src/main/org/codehaus/groovy/control/ProcessingUnit.java b/src/main/org/codehaus/groovy/control/ProcessingUnit.java
index f7fe1ad..d95822d 100644
--- a/src/main/org/codehaus/groovy/control/ProcessingUnit.java
+++ b/src/main/org/codehaus/groovy/control/ProcessingUnit.java
@@ -101,7 +101,7 @@ public abstract class ProcessingUnit {
* Sets the class loader for use by this ProcessingUnit.
*/
- public void setClassLoader(GroovyClassLoader loader) {
+ public void setClassLoader(final GroovyClassLoader loader) {
// Classloaders should only be created inside doPrivileged block
// This code creates a classloader, which needs permission if a security manage is installed.
// If this code might be invoked by code that does not have security permissions, then the classloader creation needs to occur inside a doPrivileged block.