[eclipse] 01/10: Fixed the build failure with Java 8 (Closes: #757536)

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Oct 19 17:35:21 UTC 2016


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

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

commit 30d00dec75c42d72fee61c1b98242ecdf3345866
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Tue Oct 18 16:57:53 2016 +0200

    Fixed the build failure with Java 8 (Closes: #757536)
---
 debian/changelog                         |  7 +++++++
 debian/patches/java8-compatibility.patch | 16 ++++++++++++++++
 debian/patches/series                    |  1 +
 3 files changed, 24 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 7725659..cb30b6e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+eclipse (3.8.1-9) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Fixed the build failure with Java 8 (Closes: #757536)
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Tue, 18 Oct 2016 16:57:18 +0200
+
 eclipse (3.8.1-8) unstable; urgency=medium
 
   * Update icu4j dependency to libicu4j-49-java
diff --git a/debian/patches/java8-compatibility.patch b/debian/patches/java8-compatibility.patch
new file mode 100644
index 0000000..3a2e0b7
--- /dev/null
+++ b/debian/patches/java8-compatibility.patch
@@ -0,0 +1,16 @@
+Description: Ignore the duplicate method errors caused by the Java 8 default methods
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: not-needed
+--- a/eclipse/plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/MethodVerifier15.java
++++ b/eclipse/plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/MethodVerifier15.java
+@@ -338,8 +338,8 @@
+ 	for (int i = 0; i < length; i++) {
+ 		if (!methods[i].isAbstract()) {
+ 			if (concreteMethod != null) {
+-				problemReporter().duplicateInheritedMethods(this.type, concreteMethod, methods[i]);
+-				continueInvestigation = false;
++				//problemReporter().duplicateInheritedMethods(this.type, concreteMethod, methods[i]);
++				//continueInvestigation = false;
+ 			}
+ 			concreteMethod = methods[i];
+ 		}
diff --git a/debian/patches/series b/debian/patches/series
index c8a01a0..96c16e6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -45,3 +45,4 @@ eclipse-add-aarch64-ppc64el.patch
 fix-s390-s390x-build.patch
 target-java-1.5.patch
 use-icu4j-49.patch
+java8-compatibility.patch

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



More information about the pkg-java-commits mailing list