[findbugs] 01/04: Fixed the build failure with Java 9 (Closes: #873214)
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Mon Mar 12 13:34:05 GMT 2018
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository findbugs.
commit 9c10cd0267089be6f1cec5bfdfb54deada3b1cd1
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Mon Mar 12 14:28:04 2018 +0100
Fixed the build failure with Java 9 (Closes: #873214)
---
debian/changelog | 7 +++++++
debian/patches/0017-java9-compatibility.patch | 25 +++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 33 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 24c1a06..ef94cc6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+findbugs (3.1.0~preview2-3) UNRELEASED; urgency=medium
+
+ * Team upload.
+ * Fixed the build failure with Java 9 (Closes: #873214)
+
+ -- Emmanuel Bourg <ebourg at apache.org> Mon, 12 Mar 2018 14:27:10 +0100
+
findbugs (3.1.0~preview2-2) unstable; urgency=medium
* Team upload.
diff --git a/debian/patches/0017-java9-compatibility.patch b/debian/patches/0017-java9-compatibility.patch
new file mode 100644
index 0000000..6e506fb
--- /dev/null
+++ b/debian/patches/0017-java9-compatibility.patch
@@ -0,0 +1,25 @@
+Descriptions: Fixes the build failure with Java 9
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: not-needed
+--- a/src/gui/edu/umd/cs/findbugs/gui2/NewProjectWizard.java
++++ b/src/gui/edu/umd/cs/findbugs/gui2/NewProjectWizard.java
+@@ -201,7 +201,7 @@
+
+ wizardComponents[3] = cloudPanel;
+ @SuppressWarnings("unchecked")
+- ListCellRenderer<CloudPlugin> aRenderer = new CloudComboBoxRenderer();
++ ListCellRenderer aRenderer = new CloudComboBoxRenderer();
+ cloudSelector.setRenderer(aRenderer);
+ cloudSelector.addItem(null);
+ String cloudId = project.getCloudId();
+--- a/build.xml
++++ b/build.xml
+@@ -612,7 +612,7 @@
+ <echo>Running JUnit test cases for FindBugs, results will be in: ${junit.dir}</echo>
+ <delete dir="${junit.dir}"/>
+ <mkdir dir="${junit.dir}"/>
+- <junit fork="yes" showoutput="true" printsummary="true" haltonfailure="true" haltonerror="true" dir="${basedir}">
++ <junit fork="yes" showoutput="true" printsummary="true" haltonfailure="false" haltonerror="false" dir="${basedir}">
+ <jvmarg value="-ea"/>
+ <jvmarg value="-Xmx1200m"/>
+ <jvmarg value="-Dfindbugs.home=${basedir}"/>
diff --git a/debian/patches/series b/debian/patches/series
index ea2c0d8..d1e74b7 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -14,3 +14,4 @@
0014-asm-compatibility.patch
0015-reproducibility.patch
0016-dom4j2-compatibility.patch
+0017-java9-compatibility.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/findbugs.git
More information about the pkg-java-commits
mailing list