[oscache] 02/06: Address FTBFS due to generification

Tony Mancill tmancill at moszumanska.debian.org
Sun Aug 6 21:22:26 UTC 2017


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

tmancill pushed a commit to branch master
in repository oscache.

commit df05eded4cc80809ab02b3117ca4be635a8c4612
Author: tony mancill <tmancill at debian.org>
Date:   Sun Aug 6 10:07:11 2017 -0700

    Address FTBFS due to generification
    
    Also see https://bugs.openjdk.java.net/browse/JDK-6184376
---
 debian/patches/02-ftbfs-lower-bounds.patch | 24 ++++++++++++++++++++++++
 debian/patches/series                      |  1 +
 2 files changed, 25 insertions(+)

diff --git a/debian/patches/02-ftbfs-lower-bounds.patch b/debian/patches/02-ftbfs-lower-bounds.patch
new file mode 100644
index 0000000..14b4d01
--- /dev/null
+++ b/debian/patches/02-ftbfs-lower-bounds.patch
@@ -0,0 +1,24 @@
+--- a/src/java/com/opensymphony/oscache/base/Cache.java
++++ b/src/java/com/opensymphony/oscache/base/Cache.java
+@@ -356,8 +356,8 @@
+      * @since 2.4
+      */
+     public void addCacheEventListener(CacheEventListener listener) {
+-        // listenerList.add(CacheEventListener.class, listener);
+-        listenerList.add(listener.getClass(), listener);
++        listenerList.add(CacheEventListener.class, listener);
++        //listenerList.add(listener.getClass(), listener);
+     }
+     
+     /**
+@@ -669,8 +669,8 @@
+      * @since 2.4
+      */
+     public void removeCacheEventListener(CacheEventListener listener) {
+-        // listenerList.remove(CacheEventListener.class, listener);
+-        listenerList.remove(listener.getClass(), listener);
++        listenerList.remove(CacheEventListener.class, listener);
++        //listenerList.remove(listener.getClass(), listener);
+     }
+ 
+     /**
diff --git a/debian/patches/series b/debian/patches/series
index 971921d..54095e6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 01-servlet-api-compatibility.patch
+02-ftbfs-lower-bounds.patch

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



More information about the pkg-java-commits mailing list