27 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
| diff --git a/eclipse.platform/ant/org.eclipse.ant.launching/remote/org/eclipse/ant/internal/launching/remote/AntSecurityManager.java b/eclipse.platform/ant/org.eclipse.ant.launching/remote/org/eclipse/ant/internal/launching/remote/AntSecurityManager.java
 | |
| index b6c0d1e68..a35e683d7 100644
 | |
| --- a/eclipse.platform/ant/org.eclipse.ant.launching/remote/org/eclipse/ant/internal/launching/remote/AntSecurityManager.java
 | |
| +++ b/eclipse.platform/ant/org.eclipse.ant.launching/remote/org/eclipse/ant/internal/launching/remote/AntSecurityManager.java
 | |
| @@ -19,12 +19,6 @@ import java.net.SocketPermission;
 | |
|  import java.security.Permission;
 | |
|  import java.util.PropertyPermission;
 | |
|  
 | |
| -import org.eclipse.ant.core.AntCorePlugin;
 | |
| -import org.eclipse.ant.core.AntSecurityException;
 | |
| -import org.eclipse.core.runtime.IStatus;
 | |
| -import org.eclipse.core.runtime.Platform;
 | |
| -import org.eclipse.core.runtime.Status;
 | |
| -
 | |
|  /**
 | |
|   * A security manager that always throws an <code>AntSecurityException</code> if the calling thread attempts to cause the Java Virtual Machine to
 | |
|   * exit/halt or if the restricted thread attempts to set a System property. Otherwise this manager just delegates to the pre-existing manager passed
 | |
| @@ -453,8 +447,6 @@ public class AntSecurityManager extends SecurityManager {
 | |
|  			return super.getInCheck();
 | |
|  		}
 | |
|  		catch (NoSuchMethodException | SecurityException e) {
 | |
| -			Platform.getLog(AntCorePlugin.getPlugin().getBundle()).log(new Status(IStatus.WARNING, "org.eclipse.ant.launching", //$NON-NLS-1$
 | |
| -					RemoteAntMessages.getString("AntSecurityManager.getInCheck"))); //$NON-NLS-1$
 | |
|  			return false;
 | |
|  		}
 | |
|  	}
 |