Browse Source

move NoExitSecurityManager to make Ant bootstrappable on JDK 1.1

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271156 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 23 years ago
parent
commit
1ea0d6c6ef
3 changed files with 6 additions and 4 deletions
  1. +1
    -1
      build.xml
  2. +1
    -1
      src/main/org/apache/tools/ant/ExitException.java
  3. +4
    -2
      src/main/org/apache/tools/ant/util/optional/NoExitSecurityManager.java

+ 1
- 1
build.xml View File

@@ -267,7 +267,7 @@
unless="jdk1.4+" />
<exclude name="${ant.package}/AntSecurityManager.java"
unless="jdk1.2+" />
<exclude name="${ant.package}/NoExitSecurityManager.java"
<exclude name="${ant.package}/util/optional/NoExitSecurityManager.java"
unless="jdk1.2+" />
<exclude name="${ant.package}/listener/Log4jListener.java"
unless="log4j.present" />


+ 1
- 1
src/main/org/apache/tools/ant/ExitException.java View File

@@ -56,7 +56,7 @@ package org.apache.tools.ant;
/**
* Used to report exit status of classes which call System.exit()
*
* @see NoExitSecurityManager
* @see org.apache.tools.ant.util.optional.NoExitSecurityManager
*
* @author Conor MacNeill
*/


src/main/org/apache/tools/ant/NoExitSecurityManager.java → src/main/org/apache/tools/ant/util/optional/NoExitSecurityManager.java View File

@@ -1,7 +1,7 @@
/*
* The Apache Software License, Version 1.1
*
* Copyright (c) 2001 The Apache Software Foundation. All rights
* Copyright (c) 2001-2002 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -51,7 +51,9 @@
* information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
*/
package org.apache.tools.ant;
package org.apache.tools.ant.util.optional;

import org.apache.tools.ant.ExitException;

import java.security.Permission;


Loading…
Cancel
Save