[felix-framework] 01/02: Added a patch to compile with OpenJDK 8

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Apr 9 16:08:34 UTC 2014


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

ebourg-guest pushed a commit to branch master
in repository felix-framework.

commit 475e8d6d94544c478a0ff4ccdbd8ce77b750181a
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Wed Apr 9 18:07:40 2014 +0200

    Added a patch to compile with OpenJDK 8
---
 debian/changelog                            |  1 +
 debian/patches/01-java8-compatibility.patch | 16 ++++++++++++++++
 debian/patches/series                       |  1 +
 3 files changed, 18 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 73b37a1..be7e10b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 felix-framework (4.0.1-3) UNRELEASED; urgency=medium
 
   * Team upload.
+  * Added a patch to compile with OpenJDK 8
   * debian/control:
     - Standards-Version updated to 3.9.5 (no changes)
     - Use canonical URLs for the Vcs-* fields
diff --git a/debian/patches/01-java8-compatibility.patch b/debian/patches/01-java8-compatibility.patch
new file mode 100644
index 0000000..c36f2bc
--- /dev/null
+++ b/debian/patches/01-java8-compatibility.patch
@@ -0,0 +1,16 @@
+Description: Use the target 1.5 instead of jsr14 which is no longer
+ supported by javac in Java 8. This patch can be removed after upgrading
+ felix-framework to 4.2.0 or later.
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: not-needed
+--- a/pom.xml
++++ b/pom.xml
+@@ -44,7 +44,7 @@
+         <groupId>org.apache.maven.plugins</groupId>
+         <artifactId>maven-compiler-plugin</artifactId>
+         <configuration>
+-          <target>jsr14</target>
++          <target>1.5</target>
+           <source>1.5</source>
+         </configuration>
+       </plugin>
diff --git a/debian/patches/series b/debian/patches/series
index f8b50dc..137beee 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 # Only for bootstrapping
 #bootstrap_packaging_jar.diff
+01-java8-compatibility.patch

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



More information about the pkg-java-commits mailing list