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;
       }