This is an automated email from the git hooks/post-receive script. ebourg-guest pushed a commit to branch master in repository sweethome3d.
commit 0982915f254a0da748a5ae5f5bd1238b8e3c9e6b Author: Emmanuel Bourg <[email protected]> Date: Mon Mar 12 22:52:28 2018 +0100 Fixed the build failure with Java 9 (Closes: #873224) --- debian/changelog | 7 +++++++ debian/patches/java9-compatibility.patch | 14 ++++++++++++++ debian/patches/series | 1 + 3 files changed, 22 insertions(+) diff --git a/debian/changelog b/debian/changelog index f3cc5a0..98f6257 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +sweethome3d (5.7+dfsg-2) UNRELEASED; urgency=medium + + * Team upload. + * Fixed the build failure with Java 9 (Closes: #873224) + + -- Emmanuel Bourg <[email protected]> Mon, 12 Mar 2018 22:51:14 +0100 + sweethome3d (5.7+dfsg-1) unstable; urgency=medium * New upstream version 5.7+dfsg. diff --git a/debian/patches/java9-compatibility.patch b/debian/patches/java9-compatibility.patch new file mode 100644 index 0000000..3c8f00a --- /dev/null +++ b/debian/patches/java9-compatibility.patch @@ -0,0 +1,14 @@ +Description: Fixes the compatibility with Java 9 +Author: Emmanuel Bourg <[email protected]> +Bug: https://sourceforge.net/p/sweethome3d/bugs/783/ +--- a/src/com/eteks/sweethome3d/swing/FileContentManager.java ++++ b/src/com/eteks/sweethome3d/swing/FileContentManager.java +@@ -1219,7 +1219,7 @@ + + public int updateChildren(File [] childDirectories) { + if (this.children == null) { +- this.children = new Vector<File>(childDirectories.length); ++ this.children = new Vector(childDirectories.length); + } + synchronized (this.children) { + removeAllChildren(); diff --git a/debian/patches/series b/debian/patches/series index b4ab1ae..ccbe33f 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -4,3 +4,4 @@ no-video.patch noadditionalprovisions.patch build.patch no-MacOSX.patch +java9-compatibility.patch -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/sweethome3d.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

