[libgetopt-java] 01/02: update -source and -target to be java 9 compatible
Chris West
faux-guest at moszumanska.debian.org
Fri Sep 8 10:41:02 UTC 2017
This is an automated email from the git hooks/post-receive script.
faux-guest pushed a commit to branch master
in repository libgetopt-java.
commit b4bbc6c86b08800d6b0bccc7c6982ebced08ce82
Author: Chris West (Faux) <git at goeswhere.com>
Date: Fri Sep 8 11:21:57 2017 +0100
update -source and -target to be java 9 compatible
---
debian/changelog | 7 +++++++
debian/rules | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index ce8b880..953c4cb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+libgetopt-java (1.0.14+dfsg-4) UNRELEASED; urgency=medium
+
+ * Fix build for Java 9:
+ - use -source and -target 1.8
+
+ -- Chris West (Faux) <debian at fau.xxx> Fri, 08 Sep 2017 11:23:34 +0100
+
libgetopt-java (1.0.14+dfsg-3) unstable; urgency=medium
* Moved the package to Git.
diff --git a/debian/rules b/debian/rules
index 4399f21..af49b70 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,7 +18,7 @@ export CLASSPATH=$(JAVA_HOME)/jre/lib/rt.jar:.
override_dh_auto_build:
mkdir -p $(CURDIR)/classes
- ${JAVAC} -target 1.3 -source 1.3 -d classes -classpath ${CLASSPATH} gnu/getopt/*.java
+ ${JAVAC} -target 1.8 -source 1.8 -d classes -classpath ${CLASSPATH} gnu/getopt/*.java
cp $(CURDIR)/gnu/getopt/*.properties $(CURDIR)/classes/gnu/getopt
cd $(CURDIR)/classes; ${JAR} cvf ../gnu-getopt.jar gnu
javadoc -link /usr/share/doc/default-jdk-doc/api -d api/ gnu/getopt/*.java
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libgetopt-java.git
More information about the pkg-java-commits
mailing list