[jlm] 03/06: try to allow java7 as a wrapper

Martin Quinson mquinson at alioth.debian.org
Sun Sep 8 19:17:43 UTC 2013


This is an automated email from the git hooks/post-receive script.

mquinson pushed a commit to branch debian-debian
in repository jlm.

commit 48029e347f01a92c1564fcd8fbc7c5a3f3b23d29
Author: Martin Quinson <martin.quinson at loria.fr>
Date:   Sun Sep 8 21:06:53 2013 +0200

    try to allow java7 as a wrapper
---
 debian/patches/java7  |   19 +++++++++++++++++++
 debian/patches/series |    1 +
 2 files changed, 20 insertions(+)

diff --git a/debian/patches/java7 b/debian/patches/java7
new file mode 100644
index 0000000..09ade12
--- /dev/null
+++ b/debian/patches/java7
@@ -0,0 +1,19 @@
+---
+ src/plm/core/model/lesson/Exercise.java |    4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+Index: b/src/plm/core/model/lesson/Exercise.java
+===================================================================
+--- a/src/plm/core/model/lesson/Exercise.java
++++ b/src/plm/core/model/lesson/Exercise.java
+@@ -109,8 +109,8 @@
+ 	 */
+ 	//TODO: why do we instantiate a compiler per exercise ? is there any way to re-use the same compiler. 
+ 	//TODO: I tried to put it as static, but of course strange behaviors happen afterwards
+-	// Create a compiler of classes (using java 1.6)
+-	private final CompilerJava compiler = new CompilerJava(Arrays.asList(new String[] { "-target", "1.6" }));
++	// Create a compiler of classes 
++	private final CompilerJava compiler = new CompilerJava(Arrays.asList(new String[] { }));
+ 
+ 
+ 	/**
diff --git a/debian/patches/series b/debian/patches/series
index 4a88585..b8956c7 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 system-ant-tasks
 no-twitter
 no-scala
+java7

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jlm.git



More information about the pkg-java-commits mailing list