RFR 8068887 : java.lang.Throwable could use Collections.emptyList for suppressedException (original) (raw)
Alan Bateman Alan.Bateman at oracle.com
Mon Oct 12 16:24:13 UTC 2015
- Previous message: RFR 8068887 : java.lang.Throwable could use Collections.emptyList for suppressedException
- Next message: RFR 8068887 : java.lang.Throwable could use Collections.emptyList for suppressedException
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 12/10/2015 17:20, Aleksey Shipilev wrote:
: No, of course not :) The mere fact a collection is empty when the unmodifiable view is acquired does not mean somebody who can access the collection via the "modifiable" reference would not update it ;) Of course :-)
- Previous message: RFR 8068887 : java.lang.Throwable could use Collections.emptyList for suppressedException
- Next message: RFR 8068887 : java.lang.Throwable could use Collections.emptyList for suppressedException
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]