Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 376902 Details for
Bug 506674
dev-java/concurrent-util-1.3.4-r1 fails to build with dev-java/oracle-jdk-bin:1.8
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
java8-compatibility.patch
java8-compatibility.patch (text/plain), 1.19 KB, created by
Constantine E. Kozlov
on 2014-05-14 14:29:01 UTC
(
hide
)
Description:
java8-compatibility.patch
Filename:
MIME Type:
Creator:
Constantine E. Kozlov
Created:
2014-05-14 14:29:01 UTC
Size:
1.19 KB
patch
obsolete
>diff -Naur a/src/java/EDU/oswego/cs/dl/util/concurrent/ConcurrentHashMap.java b/src/java/EDU/oswego/cs/dl/util/concurrent/ConcurrentHashMap.java >--- a/src/java/EDU/oswego/cs/dl/util/concurrent/ConcurrentHashMap.java 2014-05-14 16:52:52.967571704 +0300 >+++ b/src/java/EDU/oswego/cs/dl/util/concurrent/ConcurrentHashMap.java 2014-05-14 17:20:45.893634182 +0300 >@@ -656,7 +656,7 @@ > * <code>null</code>. > */ > public Object remove(Object key) { >- return remove(key, null); >+ return removeMapping(key, null); > } > > >@@ -675,7 +675,7 @@ > * <code>null</code>. > */ > >- protected Object remove(Object key, Object value) { >+ protected Object removeMapping(Object key, Object value) { > /* > Find the entry, then > 1. Set value field to null, to force get() to retry >@@ -946,7 +946,7 @@ > if (!(o instanceof Map.Entry)) > return false; > Map.Entry e = (Map.Entry)o; >- return ConcurrentHashMap.this.remove(e.getKey(), e.getValue()) != null; >+ return ConcurrentHashMap.this.removeMapping(e.getKey(), e.getValue()) != null; > } > public int size() { > return ConcurrentHashMap.this.size();
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 506674
:
374172
| 376902