Skip to content

Apache Lucene open-source search software

Remove hack for localhost address of old FreeBSD build machine

Uwe Schindler35fbea9dadd5
diff --git a/lucene/tools/junit4/solr-tests.policy b/lucene/tools/junit4/solr-tests.policy
index fd2343acafc..b51dc892b18 100644
--- a/lucene/tools/junit4/solr-tests.policy
+++ b/lucene/tools/junit4/solr-tests.policy
@@ -38,10 +38,6 @@ grant {
permission java.net.SocketPermission "127.0.0.1:1024-", "accept,listen";
permission java.net.SocketPermission "[::1]:1024-", "accept,listen";
- // This is a special case, because the network config of the ASF Jenkins server is broken,
- // see: http://freebsd.1045724.n5.nabble.com/jail-external-and-localhost-distinction-td3967320.html
- permission java.net.SocketPermission "lucene.zones.apache.org:1024-", "accept,listen";
-
// Allow connecting to the internet anywhere
permission java.net.SocketPermission "*", "connect,resolve";
diff --git a/lucene/tools/junit4/tests.policy b/lucene/tools/junit4/tests.policy
index b9c9d0ec76d..d4e0d6cfec1 100644
--- a/lucene/tools/junit4/tests.policy
+++ b/lucene/tools/junit4/tests.policy
@@ -102,10 +102,6 @@ grant {
permission java.net.SocketPermission "127.0.0.1:1024-", "accept,listen,connect,resolve";
permission java.net.SocketPermission "[::1]:1024-", "accept,listen,connect,resolve";
- // This is a special case, because the network config of the ASF Jenkins server is broken,
- // see: http://freebsd.1045724.n5.nabble.com/jail-external-and-localhost-distinction-td3967320.html
- permission java.net.SocketPermission "lucene.zones.apache.org:1024-", "accept,listen,connect,resolve";
-
// SSL related properties for jetty
permission java.security.SecurityPermission "getProperty.ssl.KeyManagerFactory.algorithm";
permission java.security.SecurityPermission "getProperty.ssl.TrustManagerFactory.algorithm";