[libjsyntaxpane-java] 01/04: Fix a JavaScript problem with Java8
Martin Quinson
mquinson at moszumanska.debian.org
Fri Jul 25 21:36:08 UTC 2014
This is an automated email from the git hooks/post-receive script.
mquinson pushed a commit to branch master
in repository libjsyntaxpane-java.
commit 4617a2423dead84cbe255eb223896c1cb26dc494
Author: Martin Quinson <martin.quinson at loria.fr>
Date: Thu Jul 24 10:05:26 2014 +0200
Fix a JavaScript problem with Java8
---
debian/changelog | 1 +
debian/patches/js-problem-java8 | 22 ++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 24 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index b0054d7..72d9e2a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ libjsyntaxpane-java (0.9.6~r156-5) UNRELEASED; urgency=low
* d/p/NPE_null_scroll_pane: upstream bug fix (NPE when the line
number ruler is installed before the scroll pane)
+ * d/p/js-problem-java8: Fix a JavaScript problem with Java8 [Felix Natter]
-- Martin Quinson <mquinson at debian.org> Tue, 27 Aug 2013 11:32:52 +0200
diff --git a/debian/patches/js-problem-java8 b/debian/patches/js-problem-java8
new file mode 100644
index 0000000..482433d
--- /dev/null
+++ b/debian/patches/js-problem-java8
@@ -0,0 +1,22 @@
+---
+ src/main/resources/META-INF/services/jsyntaxpane/scripts/insertdate.js | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+Index: b/src/main/resources/META-INF/services/jsyntaxpane/scripts/insertdate.js
+===================================================================
+--- a/src/main/resources/META-INF/services/jsyntaxpane/scripts/insertdate.js
++++ b/src/main/resources/META-INF/services/jsyntaxpane/scripts/insertdate.js
+@@ -1,8 +1,8 @@
+ // Import the needed java packages and classes
+-importPackage(java.util);
+-importClass(javax.swing.JOptionPane)
++//importPackage(java.util);
++//importClass(javax.swing.JOptionPane)
+
+ function putDate() {
+- TARGET.replaceSelection("This is a dummy proc that inserts the Current Date:\n" + new Date());
++ TARGET.replaceSelection("This is a dummy proc that inserts the Current Date:\n" + new java.util.Date());
+ TARGET.replaceSelection("\nTab Size of doc = " + AU.getTabSize(TARGET));
+-}
+\ No newline at end of file
++}
diff --git a/debian/patches/series b/debian/patches/series
index 5c433c5..3d794b7 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
NPE_null_scroll_pane
load-bundle-i18n
scala-property-comments
+js-problem-java8
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libjsyntaxpane-java.git
More information about the pkg-java-commits
mailing list