Possible HashMap update

Paul Sandoz paul.sandoz at oracle.com
Thu Jul 25 14:33:46 UTC 2013


On Jul 8, 2013, at 4:24 PM, Doug Lea <dl at cs.oswego.edu> wrote:
> 
> 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 

I gave the updates another test drive in the lamba repo. All looks OK.

Paul.


More information about the core-libs-dev mailing list