[libswingx-java] 24/26: Fixed the build failure with Java 9 (Closes: #874658)
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Wed Mar 7 12:01:51 GMT 2018
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository libswingx-java.
commit 77dc584013920fe76702e6dd95910d22a798d029
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Wed Mar 7 12:57:42 2018 +0100
Fixed the build failure with Java 9 (Closes: #874658)
---
debian/changelog | 1 +
debian/patches/01-java9-compatibility.patch | 21 +++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 23 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 1613ed5..ee53fb8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
libswingx-java (1:1.6.2-3) UNRELEASED; urgency=medium
* Team upload.
+ * Fixed the build failure with Java 9 (Closes: #874658)
* Build with the DH sequencer instead of CDBS
* Moved the package to Git
* Standards-Version updated to 4.1.3
diff --git a/debian/patches/01-java9-compatibility.patch b/debian/patches/01-java9-compatibility.patch
new file mode 100644
index 0000000..47a2fb2
--- /dev/null
+++ b/debian/patches/01-java9-compatibility.patch
@@ -0,0 +1,21 @@
+Description: Fixes the compatibility issues with Java 9
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: no
+--- a/swingx-core/src/main/java/org/jdesktop/swingx/JXTable.java
++++ b/swingx-core/src/main/java/org/jdesktop/swingx/JXTable.java
+@@ -561,7 +561,7 @@
+ * @param columnNames Column names, as a Vector of Strings.
+ */
+ public JXTable(Vector<?> rowData, Vector<?> columnNames) {
+- super(rowData, columnNames);
++ super((Vector) rowData, columnNames);
+ init();
+ }
+
+@@ -4551,4 +4551,4 @@
+ repaint();
+ }
+
+-}
+\ No newline at end of file
++}
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..12bc5e0
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01-java9-compatibility.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libswingx-java.git
More information about the pkg-java-commits
mailing list