Possible HashMap update

Doug Lea dl at cs.oswego.edu
Mon Jul 8 15:24:15 UTC 2013


On 07/05/13 04:55, Paul Sandoz wrote:
>> I played with these in the lambda repo.
>>
>> I needed to make the following additional change for things to compile:
>>
>> --- a/src/share/classes/java/io/ExpiringCache.java    Fri Jul 05 10:04:00 2013 +0200
>> +++ b/src/share/classes/java/io/ExpiringCache.java    Fri Jul 05 10:45:10 2013 +0200
>> ...

Thanks to those chasing this down, now recorded as a CR at:
   http://bugs.sun.com/view_bug.do?bug_id=8017219

Some might think this is a fun javac corner case to read about,
but for present purposes, the moral is that the name of
the internal LinkedHashMap.Entry class, even though it is never
exported, cannot be changed without impacting re-compilability of
some external usages. Fine. We can cope.

For people still following along, see updates at...

http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/dl/java/util/HashMap.java?view=log

http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/dl/java/util/LinkedHashMap.java?view=log 




More information about the core-libs-dev mailing list