[h2database] 08/11: Java 8 compatibility

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Feb 16 18:26:17 UTC 2015


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository h2database.

commit 76ad90bfefce9c89c3b776ecbcad832a0befd4c1
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Mon Feb 16 15:58:15 2015 +0100

    Java 8 compatibility
---
 debian/patches/03-java8-compatibility.patch | 13 +++++++++++++
 debian/patches/series                       |  1 +
 2 files changed, 14 insertions(+)

diff --git a/debian/patches/03-java8-compatibility.patch b/debian/patches/03-java8-compatibility.patch
new file mode 100644
index 0000000..208779c
--- /dev/null
+++ b/debian/patches/03-java8-compatibility.patch
@@ -0,0 +1,13 @@
+Description: Fix a compilation issue with Java 8
+Origin: backport, https://code.google.com/p/h2database/source/detail?r=5097
+--- a/src/tools/org/h2/build/BuildBase.java
++++ b/src/tools/org/h2/build/BuildBase.java
+@@ -133,7 +133,7 @@
+                 throw new RuntimeException("Unsupported pattern, may only start or end with *:" + pattern);
+             }
+             // normalize / and \
+-            pattern = replaceAll(pattern, "/", File.separator);
++            pattern = BuildBase.replaceAll(pattern, "/", File.separator);
+             FileList list = new FileList();
+             for (File f : this) {
+                 String path = f.getPath();
diff --git a/debian/patches/series b/debian/patches/series
index 61114e8..40aa88d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 use-jar-files-from-debian.patch
 02-servlet-api-compatibility.patch
+03-java8-compatibility.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/h2database.git



More information about the pkg-java-commits mailing list