git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270214 13f79535-47bb-0310-9956-ffa450edef68master
| @@ -35,18 +35,19 @@ import org.apache.tools.ant.util.FileUtils; | |||||
| * @author <a href="mailto:conor@cortexebusiness.com.au">Conor MacNeill</a> | * @author <a href="mailto:conor@cortexebusiness.com.au">Conor MacNeill</a> | ||||
| * @author <a href="mailto:Jesse.Glick@netbeans.com">Jesse Glick</a> | * @author <a href="mailto:Jesse.Glick@netbeans.com">Jesse Glick</a> | ||||
| */ | */ | ||||
| public class AntClassLoader extends ClassLoader implements BuildListener | |||||
| public class AntClassLoader | |||||
| extends ClassLoader | |||||
| implements BuildListener | |||||
| { | { | ||||
| /** | /** | ||||
| * The size of buffers to be used in this classloader. | * The size of buffers to be used in this classloader. | ||||
| */ | */ | ||||
| private final static int BUFFER_SIZE = 8192; | private final static int BUFFER_SIZE = 8192; | ||||
| private static Method getProtectionDomain = null; | |||||
| private static Method defineClassProtectionDomain = null; | |||||
| private static Method getContextClassLoader = null; | |||||
| private static Method setContextClassLoader = null; | |||||
| private static Method getProtectionDomain; | |||||
| private static Method defineClassProtectionDomain; | |||||
| private static Method getContextClassLoader; | |||||
| private static Method setContextClassLoader; | |||||
| /** | /** | ||||
| * The components of the classpath that the classloader searches for classes | * The components of the classpath that the classloader searches for classes | ||||
| @@ -9,7 +9,8 @@ package org.apache.tools.ant; | |||||
| import java.util.EventObject; | import java.util.EventObject; | ||||
| public class BuildEvent extends EventObject | |||||
| public class BuildEvent | |||||
| extends EventObject | |||||
| { | { | ||||
| private int priority = Project.MSG_VERBOSE; | private int priority = Project.MSG_VERBOSE; | ||||
| private Throwable exception; | private Throwable exception; | ||||
| @@ -35,18 +35,19 @@ import org.apache.tools.ant.util.FileUtils; | |||||
| * @author <a href="mailto:conor@cortexebusiness.com.au">Conor MacNeill</a> | * @author <a href="mailto:conor@cortexebusiness.com.au">Conor MacNeill</a> | ||||
| * @author <a href="mailto:Jesse.Glick@netbeans.com">Jesse Glick</a> | * @author <a href="mailto:Jesse.Glick@netbeans.com">Jesse Glick</a> | ||||
| */ | */ | ||||
| public class AntClassLoader extends ClassLoader implements BuildListener | |||||
| public class AntClassLoader | |||||
| extends ClassLoader | |||||
| implements BuildListener | |||||
| { | { | ||||
| /** | /** | ||||
| * The size of buffers to be used in this classloader. | * The size of buffers to be used in this classloader. | ||||
| */ | */ | ||||
| private final static int BUFFER_SIZE = 8192; | private final static int BUFFER_SIZE = 8192; | ||||
| private static Method getProtectionDomain = null; | |||||
| private static Method defineClassProtectionDomain = null; | |||||
| private static Method getContextClassLoader = null; | |||||
| private static Method setContextClassLoader = null; | |||||
| private static Method getProtectionDomain; | |||||
| private static Method defineClassProtectionDomain; | |||||
| private static Method getContextClassLoader; | |||||
| private static Method setContextClassLoader; | |||||
| /** | /** | ||||
| * The components of the classpath that the classloader searches for classes | * The components of the classpath that the classloader searches for classes | ||||
| @@ -9,7 +9,8 @@ package org.apache.tools.ant; | |||||
| import java.util.EventObject; | import java.util.EventObject; | ||||
| public class BuildEvent extends EventObject | |||||
| public class BuildEvent | |||||
| extends EventObject | |||||
| { | { | ||||
| private int priority = Project.MSG_VERBOSE; | private int priority = Project.MSG_VERBOSE; | ||||
| private Throwable exception; | private Throwable exception; | ||||