commit | 6d8898d57635be73f8275a360bbd7bb46d935231 | [log] [tgz] |
---|---|---|
author | Sebastian Bazley <sebb@apache.org> | Sun Aug 18 14:57:02 2013 +0000 |
committer | Sebastian Bazley <sebb@apache.org> | Sun Aug 18 14:57:02 2013 +0000 |
tree | 644b72fef5a7be82a71f36ea4e4707d8da564379 | |
parent | 07cc7859abeb512410ab50ca304d1757d8d83c42 [diff] |
Allow for testing with Java 1.7 git-svn-id: https://svn.apache.org/repos/asf/commons/proper/jci/trunk@1515126 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/core/src/test/java/org/apache/commons/jci/compilers/AbstractCompilerTestCase.java b/core/src/test/java/org/apache/commons/jci/compilers/AbstractCompilerTestCase.java index d2ccbcc..bce78a6 100644 --- a/core/src/test/java/org/apache/commons/jci/compilers/AbstractCompilerTestCase.java +++ b/core/src/test/java/org/apache/commons/jci/compilers/AbstractCompilerTestCase.java
@@ -231,8 +231,8 @@ public void testCrossReferenceCompilation() throws Exception { final String javaVersion = System.getProperty("java.version"); - if (!(javaVersion.startsWith("1.5") || javaVersion.startsWith("1.6"))) { - System.err.println("WARNING! Skipping testCrossReferenceCompilation() because your runtime does not support java 1.5+ yet"); + if (!(javaVersion.startsWith("1.5") || javaVersion.startsWith("1.6") || javaVersion.startsWith("1.7"))) { + System.err.println("WARNING! Skipping testCrossReferenceCompilation() because your runtime does not support java 1.5+ yet - version " + javaVersion); return; }