[jackson-datatype-joda] 01/02: Fix FTBFS with Java9
Markus Koschany
apo at moszumanska.debian.org
Tue Mar 20 20:21:07 GMT 2018
This is an automated email from the git hooks/post-receive script.
apo pushed a commit to branch master
in repository jackson-datatype-joda.
commit 66e01c619a2cbed627ad19368ba982d1f10ad5ac
Author: Markus Koschany <apo at debian.org>
Date: Tue Mar 20 21:12:49 2018 +0100
Fix FTBFS with Java9
Closes: #893218
---
debian/patches/java9.patch | 21 +++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 22 insertions(+)
diff --git a/debian/patches/java9.patch b/debian/patches/java9.patch
new file mode 100644
index 0000000..ef7c2a6
--- /dev/null
+++ b/debian/patches/java9.patch
@@ -0,0 +1,21 @@
+From: Markus Koschany <apo at debian.org>
+Date: Tue, 20 Mar 2018 21:12:39 +0100
+Subject: java9
+
+---
+ src/test/java/com/fasterxml/jackson/datatype/joda/DateTimeTest.java | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/test/java/com/fasterxml/jackson/datatype/joda/DateTimeTest.java b/src/test/java/com/fasterxml/jackson/datatype/joda/DateTimeTest.java
+index 6dcf39b..eabd828 100644
+--- a/src/test/java/com/fasterxml/jackson/datatype/joda/DateTimeTest.java
++++ b/src/test/java/com/fasterxml/jackson/datatype/joda/DateTimeTest.java
+@@ -123,7 +123,7 @@ public class DateTimeTest extends JodaTestBase
+ public void testCustomPatternStyle() throws IOException
+ {
+ // or, using annotations
+- assertEquals(aposToQuotes("{'date':'1/1/70 12:00 AM'}"),
++ assertEquals(aposToQuotes("{'date':'1/1/70, 12:00 AM'}"),
+ STRING_MAPPER.writeValueAsString(new CustomDate(DATE_JAN_1_1970_UTC)));
+ }
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..4d2c86f
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+java9.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jackson-datatype-joda.git
More information about the pkg-java-commits
mailing list