Author: nbubna
Date: Tue Sep  2 18:24:20 2008
New Revision: 691454

URL: http://svn.apache.org/viewvc?rev=691454&view=rev
Log:
skip VELOCITY-70 test in pre 1.6 JDKs

Modified:
    
velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity579TestCase.java

Modified: 
velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity579TestCase.java
URL: 
http://svn.apache.org/viewvc/velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity579TestCase.java?rev=691454&r1=691453&r2=691454&view=diff
==============================================================================
--- 
velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity579TestCase.java
 (original)
+++ 
velocity/engine/trunk/src/test/org/apache/velocity/test/issues/Velocity579TestCase.java
 Tue Sep  2 18:24:20 2008
@@ -42,15 +42,15 @@
     public void testPublicMethodInheritedFromPrivateClass() throws Exception
     {
         context.put("bar", new MyBar());
-        // ugly hack to avoid failed test when running JDK 1.4 or earlier
+        // ugly hack to avoid failed test when running JDK 1.5 or earlier
         try
         {
-            Class.forName("java.lang.annotation.Annotation");
+            Class.forName("java.util.Deque");
             assertEvalEquals("bar", "$bar.bar()");
         }
         catch (ClassNotFoundException cnfe)
         {
-            //ignore this test in jdk 1.4-
+            //ignore this test in jdk 1.5-
         }
     }
 


Reply via email to