summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/jaxen/files/jaxen-1.1_beta11-fix-jdk14-tests.patch')
-rw-r--r--dev-java/jaxen/files/jaxen-1.1_beta11-fix-jdk14-tests.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-java/jaxen/files/jaxen-1.1_beta11-fix-jdk14-tests.patch b/dev-java/jaxen/files/jaxen-1.1_beta11-fix-jdk14-tests.patch
new file mode 100644
index 000000000000..2138da37518b
--- /dev/null
+++ b/dev-java/jaxen/files/jaxen-1.1_beta11-fix-jdk14-tests.patch
@@ -0,0 +1,20 @@
+--- src/java/test/org/jaxen/test/SimpleVariableContextTest.java 2006-10-27 02:24:14.000000000 +0200
++++ src/java/test/org/jaxen/test/SimpleVariableContextTest.java 2006-10-27 02:22:23.000000000 +0200
+@@ -99,7 +99,7 @@
+
+ // test the result
+ assertEquals("String Value", copy.getVariableValue("", "", "s"));
+- assertEquals(Double.valueOf(3.1415292), copy.getVariableValue("", "", "x"));
++ assertEquals(new Double(3.1415292), copy.getVariableValue("", "", "x"));
+ assertEquals(Boolean.TRUE, copy.getVariableValue("", "", "b"));
+ assertEquals("", "");
+
+@@ -116,7 +116,7 @@
+
+ // test the result
+ assertEquals("String Value", context.getVariableValue("", "", "s"));
+- assertEquals(Double.valueOf(3.1415292), context.getVariableValue("", "", "x"));
++ assertEquals(new Double(3.1415292), context.getVariableValue("", "", "x"));
+ assertEquals(Boolean.TRUE, context.getVariableValue("", "", "b"));
+ assertEquals("", "");
+