aboutsummaryrefslogtreecommitdiffstats
path: root/bridge
diff options
context:
space:
mode:
Diffstat (limited to 'bridge')
-rw-r--r--bridge/testsrc/org/aspectj/bridge/VersionTest.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/bridge/testsrc/org/aspectj/bridge/VersionTest.java b/bridge/testsrc/org/aspectj/bridge/VersionTest.java
index f3a0a3ea8..cee4c8450 100644
--- a/bridge/testsrc/org/aspectj/bridge/VersionTest.java
+++ b/bridge/testsrc/org/aspectj/bridge/VersionTest.java
@@ -18,6 +18,8 @@ import java.util.Date;
import java.util.Locale;
import java.util.TimeZone;
+import org.aspectj.util.LangUtil;
+
import junit.framework.TestCase;
import junit.textui.TestRunner;
@@ -43,6 +45,9 @@ public class VersionTest extends TestCase {
}
public void testVersion() {
+ if (LangUtil.is11VMOrGreater()) {
+ return;
+ }
if (Version.time_text.equals("")) {
return; // dev build, we can only test this on the build server.
}