diff --git a/google-guice-throwingproviderbinder.patch b/google-guice-throwingproviderbinder.patch
index 4be2610..02722e9 100644
--- a/google-guice-throwingproviderbinder.patch
+++ b/google-guice-throwingproviderbinder.patch
@@ -1,11 +1,33 @@
---- google-guice-4.1/extensions/throwingproviders/src/com/google/inject/throwingproviders/ThrowingProviderBinder.java 2019-04-03 09:27:26.000000000 +0200
-+++ google-guice-4.1/extensions/throwingproviders/src/com/google/inject/throwingproviders/ThrowingProviderBinder.java 2021-05-11 14:44:01.099881499 +0200
-@@ -565,5 +565,8 @@
- @Override public boolean apply(Method input) {
- return !input.isBridge() && !input.isSynthetic();
- }
-+ @Override public boolean test(Method input) {
-+ return apply(input);
-+ }
- }
- }
+--- google-guice-4.1/common.xml 2021-06-10 12:08:42.237189651 +0200
++++ google-guice-4.1/common.xml 2021-06-10 12:10:20.765834983 +0200
+@@ -14,7 +14,7 @@
+
++ source="1.8" target="1.8" encoding="UTF-8" includeantruntime="false">
+
+
+
+@@ -39,7 +39,7 @@
+
+
+
+-
++
+
+
+
+@@ -82,7 +82,7 @@
+
++ source="1.8" target="1.8" encoding="UTF-8" includeantruntime="false">
+
+
+
+Only in google-guice-4.1/core: pom.xml.orig
+Only in google-guice-4.1/extensions: pom.xml.orig
+Only in google-guice-4.1/jdk8-tests: pom.xml.orig
+Only in google-guice-4.1: pom.xml.orig
diff --git a/google-guice.changes b/google-guice.changes
index 58bd87e..9a3f430 100644
--- a/google-guice.changes
+++ b/google-guice.changes
@@ -1,3 +1,14 @@
+-------------------------------------------------------------------
+Thu Jun 10 10:16:03 UTC 2021 - Fridrich Strba
+
+- Modified patches:
+ * google-guice-throwingproviderbinder.patch
+ + do not add the override of virtual function
+ + build with source/target 8 so that the default override
+ from the interface can be used
+ * guice-4.1-javadoc.patch
+ + build javadoc with source level 8
+
-------------------------------------------------------------------
Tue May 11 12:46:28 UTC 2021 - Fridrich Strba
diff --git a/google-guice.spec b/google-guice.spec
index 2d99383..f5297c2 100644
--- a/google-guice.spec
+++ b/google-guice.spec
@@ -1,5 +1,5 @@
#
-# spec file for package google-guice
+# spec file
#
# Copyright (c) 2021 SUSE LLC
#
diff --git a/guice-4.1-javadoc.patch b/guice-4.1-javadoc.patch
index 19d14e9..d3c75c1 100644
--- a/guice-4.1-javadoc.patch
+++ b/guice-4.1-javadoc.patch
@@ -6,7 +6,7 @@ diff -urEbwB guice-4.1/build.xml guice-4.1.new/build.xml
@@ -15,7 +15,7 @@ diff -urEbwB guice-4.1/build.xml guice-4.1.new/build.xml
destdir="${jdiff.tmp}"
docletpath="${jdiff.home}/jdiff.jar${path.separator}${jdiff.home}/xerces.jar"
- maxmemory="512M"
-+ maxmemory="512M" source="1.6" encoding="UTF-8"
++ maxmemory="512M" source="1.8" encoding="UTF-8"
sourcefiles="${jdiff.home}/Null.java"
classpathref="javadoc.classpath">
@@ -24,7 +24,7 @@ diff -urEbwB guice-4.1/build.xml guice-4.1.new/build.xml