ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject ant git commit: no need to check for Java7 in Ant 1.10.x
Date Sun, 04 Sep 2016 14:36:52 GMT
Repository: ant
Updated Branches:
  refs/heads/master ffd3d14c5 -> 882d21a92


no need to check for Java7 in Ant 1.10.x


Project: http://git-wip-us.apache.org/repos/asf/ant/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant/commit/882d21a9
Tree: http://git-wip-us.apache.org/repos/asf/ant/tree/882d21a9
Diff: http://git-wip-us.apache.org/repos/asf/ant/diff/882d21a9

Branch: refs/heads/master
Commit: 882d21a922e243f81fe2befee38b4ea5f80426d1
Parents: ffd3d14
Author: Stefan Bodewig <bodewig@apache.org>
Authored: Sun Sep 4 16:36:20 2016 +0200
Committer: Stefan Bodewig <bodewig@apache.org>
Committed: Sun Sep 4 16:36:20 2016 +0200

----------------------------------------------------------------------
 src/main/org/apache/tools/ant/taskdefs/optional/TraXLiaison.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ant/blob/882d21a9/src/main/org/apache/tools/ant/taskdefs/optional/TraXLiaison.java
----------------------------------------------------------------------
diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/TraXLiaison.java b/src/main/org/apache/tools/ant/taskdefs/optional/TraXLiaison.java
index 5e27031..859f0be 100644
--- a/src/main/org/apache/tools/ant/taskdefs/optional/TraXLiaison.java
+++ b/src/main/org/apache/tools/ant/taskdefs/optional/TraXLiaison.java
@@ -665,8 +665,7 @@ public class TraXLiaison implements XSLTLiaison4, ErrorListener, XSLTLoggerAware
 
     private void applyReflectionHackForExtensionMethods() {
         // Jigsaw doesn't allow reflection to work, so we can stop trying
-        if (JavaEnvUtils.isAtLeastJavaVersion(JavaEnvUtils.JAVA_1_7)
-            && !JavaEnvUtils.isAtLeastJavaVersion(JavaEnvUtils.JAVA_9)) {
+        if (!JavaEnvUtils.isAtLeastJavaVersion(JavaEnvUtils.JAVA_9)) {
             try { // #51668, #52382
                 final Field _isNotSecureProcessing = tfactory.getClass().getDeclaredField("_isNotSecureProcessing");
                 _isNotSecureProcessing.setAccessible(true);


Mime
View raw message