[bnd] 01/06: Fixed the compilation errors with Java 8

Miguel Landaeta nomadium at moszumanska.debian.org
Tue Mar 10 18:12:33 UTC 2015


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

nomadium pushed a commit to annotated tag debian/1.50.0-8
in repository bnd.

commit a64180b750d3010843f5c7ecd06403e12d329697
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Tue Apr 29 12:19:52 2014 +0000

    Fixed the compilation errors with Java 8
---
 debian/changelog                        |  6 +++
 debian/patches/java8-compatibility.diff | 74 +++++++++++++++++++++++++++++++++
 debian/patches/series                   |  1 +
 3 files changed, 81 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index b50a316..d7fb13f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+bnd (1.50.0-8) UNRELEASED; urgency=medium
+
+  * Added a patch to fix the compilation errors with Java 8
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Tue, 29 Apr 2014 14:05:29 +0200
+
 bnd (1.50.0-7) unstable; urgency=low
 
   * Install the Maven artifacts biz.aQute:annotation and biz.aQute:bnd
diff --git a/debian/patches/java8-compatibility.diff b/debian/patches/java8-compatibility.diff
new file mode 100644
index 0000000..1430776
--- /dev/null
+++ b/debian/patches/java8-compatibility.diff
@@ -0,0 +1,74 @@
+Description: Fixes the compilation errors with Java 8
+Author: Emmanuel Bourg
+Forwarded: no
+--- a/biz.aQute.bndlib/src/aQute/bnd/signing/Signer.java
++++ b/biz.aQute.bndlib/src/aQute/bnd/signing/Signer.java
+@@ -7,7 +7,7 @@
+ import java.util.jar.*;
+ import java.util.regex.*;
+ 
+-import aQute.lib.base64.*;
++import aQute.lib.base64.Base64;
+ import aQute.lib.osgi.*;
+ 
+ /**
+--- a/biz.aQute.bndlib/src/aQute/lib/osgi/Jar.java
++++ b/biz.aQute.bndlib/src/aQute/lib/osgi/Jar.java
+@@ -9,7 +9,7 @@
+ import java.util.regex.*;
+ import java.util.zip.*;
+ 
+-import aQute.lib.base64.*;
++import aQute.lib.base64.Base64;
+ import aQute.libg.reporter.*;
+ 
+ public class Jar implements Closeable {
+--- a/biz.aQute.bndlib/src/aQute/lib/osgi/Analyzer.java
++++ b/biz.aQute.bndlib/src/aQute/lib/osgi/Analyzer.java
+@@ -29,7 +29,7 @@
+ 
+ import aQute.bnd.annotation.*;
+ import aQute.bnd.service.*;
+-import aQute.lib.base64.*;
++import aQute.lib.base64.Base64;
+ import aQute.lib.collections.*;
+ import aQute.lib.filter.*;
+ import aQute.lib.hex.*;
+--- a/aQute.libg/src/aQute/lib/collections/MultiMap.java
++++ b/aQute.libg/src/aQute/lib/collections/MultiMap.java
+@@ -24,6 +24,7 @@
+ 		return set.addAll(value);
+ 	}
+ 	
++/*
+ 	public boolean remove( K key, V value ) {
+ 		Set<V> set = get(key);
+ 		if ( set == null) {
+@@ -34,6 +35,7 @@
+ 			remove(key);
+ 		return result;
+ 	}
++*/
+ 	
+ 	public boolean removeAll( K key, Collection<V> value ) {
+ 		Set<V> set = get(key);
+--- a/biz.aQute.junit/bnd.bnd
++++ b/biz.aQute.junit/bnd.bnd
+@@ -7,7 +7,7 @@
+ Tester-Plugin: aQute.junit.plugin.ProjectTesterImpl
+ 
+ javac.source = 1.5
+-javac.target = jsr14
++javac.target = 1.5
+ Private-Package: aQute.junit.*,\
+ 	junit.framework
+ Export-Package: junit.framework; version=3.8
+--- a/biz.aQute.launcher/bnd.bnd
++++ b/biz.aQute.launcher/bnd.bnd
+@@ -11,4 +11,4 @@
+ 	
+ Bundle-Version: 1.0.0
+ javac.source = 1.5
+-javac.target = jsr14
+\ No newline at end of file
++javac.target = 1.5
diff --git a/debian/patches/series b/debian/patches/series
index b6b06f0..5ba6ed3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -7,3 +7,4 @@ display_bsn_on_missing_bundle.diff
 find_swt_jar.diff
 fix-encoding.diff
 ant-1.9-compatibility.diff
+java8-compatibility.diff

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



More information about the pkg-java-commits mailing list