This is an automated email from the ASF dual-hosted git repository.
jaikiran pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ant.git
The following commit(s) were added to refs/heads/master by this push:
new 3570551a8 allow "mvn -f src/etc/poms/pom.xml -DskipTests package" to
succeed during release, when using Java 9+ version
3570551a8 is described below
commit 3570551a88f0eede7a7e540973461c56d9bc0bc2
Author: Jaikiran Pai <[email protected]>
AuthorDate: Wed Jan 4 14:44:56 2023 +0530
allow "mvn -f src/etc/poms/pom.xml -DskipTests package" to succeed during
release, when using Java 9+ version
---
src/main/allow.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/main/allow.java b/src/main/allow.java
index 3e88cd1b9..c52899eda 100644
--- a/src/main/allow.java
+++ b/src/main/allow.java
@@ -101,7 +101,7 @@ public class allow extends SecurityManager {
uninstall();
}
- @Override
+ //@Override
public void checkAwtEventQueueAccess() {
uninstall();
}
@@ -146,7 +146,7 @@ public class allow extends SecurityManager {
uninstall();
}
- @Override
+ //@Override
public void checkMemberAccess(Class<?> clazz, int which) {
uninstall();
}
@@ -221,12 +221,12 @@ public class allow extends SecurityManager {
uninstall();
}
- @Override
+ //@Override
public void checkSystemClipboardAccess() {
uninstall();
}
- @Override
+ //@Override
public boolean checkTopLevelWindow(Object window) {
uninstall();
// we return false because we don't know what thread would be calling
this permission