Title: [2093] trunk/xstream/src/test/com/thoughtworks/xstream/converters/extended/FontConverterTest.java: Fails at Codehaus Bamboo even for Java 5.
Revision
2093
Author
joehni
Date
2013-07-04 18:21:01 -0500 (Thu, 04 Jul 2013)

Log Message

Fails at Codehaus Bamboo even for Java 5.

Modified Paths


Diff

Modified: trunk/xstream/src/test/com/thoughtworks/xstream/converters/extended/FontConverterTest.java (2092 => 2093)


--- trunk/xstream/src/test/com/thoughtworks/xstream/converters/extended/FontConverterTest.java	2013-07-04 23:12:27 UTC (rev 2092)
+++ trunk/xstream/src/test/com/thoughtworks/xstream/converters/extended/FontConverterTest.java	2013-07-04 23:21:01 UTC (rev 2093)
@@ -62,7 +62,7 @@
         Map outAttributes = out.getAttributes();
 
         // these attributes don't have a valid .equals() method (bad Sun!), so we can't use them in the test.
-        if (!JVM.is15()) {
+        if (!JVM.is16()) { // it seems even old 1.5 JDKs fail here (Codehaus Bamboo)
             inAttributes.remove(TextAttribute.TRANSFORM);
             outAttributes.remove(TextAttribute.TRANSFORM);
         }

To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

Reply via email to