RFR: 8062194: java.util.jar.Attributes should use insertion-ordered iteration

Alan Bateman Alan.Bateman at oracle.com
Tue Oct 28 19:52:13 UTC 2014


On 28/10/2014 18:09, Martin Buchholz wrote:
> Xueming, I understand that getting CCC approval is a fair amount of
> work.  At your option, we could leave the spec unchanged and do
> without CCC, given that Attributes' iteration order has changed in
> every past release.  Or we could split the spec change off as a
> separate improvement.
>
If we eventually want to specify that the iteration order is predictable 
then it's probably best to do it all together.

The additional class description looks okay. One comment on the 
constructor that takes the Attributes parameter is that the newly 
created Attributes might have a different order to the Attributes that 
it was created with. This would only arise if Attributes is sub-classes 
by something that uses a different iteration order to its super.

-Alan





More information about the core-libs-dev mailing list