[bsh] 48/50: Fixed the build failure with Java 9 (Closes: #875340)
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Wed Nov 29 23:53:14 UTC 2017
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository bsh.
commit dffd4ffca0beb65b50db3f7b97148fc533edf687
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Thu Nov 30 00:29:47 2017 +0100
Fixed the build failure with Java 9 (Closes: #875340)
---
debian/changelog | 1 +
debian/patches/07_java9_compatibility.patch | 14 ++++++++++++++
debian/patches/series | 2 +-
3 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 211c2ac..7e09436 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,6 @@
bsh (2.0b4-19) UNRELEASED; urgency=medium
+ * Fixed the build failure with Java 9 (Closes: #875340)
* Build with the DH sequencer instead of CDBS
* Moved the package to Git
* Standards-Version updated to 4.1.1
diff --git a/debian/patches/07_java9_compatibility.patch b/debian/patches/07_java9_compatibility.patch
new file mode 100644
index 0000000..61a8e68
--- /dev/null
+++ b/debian/patches/07_java9_compatibility.patch
@@ -0,0 +1,14 @@
+Description: Fixes the build failure with Java 9
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: no
+--- a/src/bsh/util/AWTConsole.java
++++ b/src/bsh/util/AWTConsole.java
+@@ -220,8 +220,6 @@
+ Great. What a piece of crap.
+ */
+ public void setCaretPosition( int pos ) {
+- ((java.awt.peer.TextComponentPeer)getPeer()).setCaretPosition(
+- pos + countNLs() );
+ }
+
+ /*
diff --git a/debian/patches/series b/debian/patches/series
index 16cc052..53c696a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,6 +1,6 @@
01_EnableBsfAdapter_buildXml.patch
02_GNUvms_workaround.patch
-03_target13_buildXml.patch
04_fix_typo.patch
05_link_javadoc.patch
CVE-2016-2510.patch
+07_java9_compatibility.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/bsh.git
More information about the pkg-java-commits
mailing list