RFR 8068887 : java.lang.Throwable could use Collections.emptyList for suppressedException

Chris Hegarty chris.hegarty at oracle.com
Mon Oct 12 18:17:44 UTC 2015


On 12 Oct 2015, at 17:54, Mandy Chung <mandy.chung at oracle.com> wrote:

> 
>> On Oct 12, 2015, at 8:09 AM, Vyom Tewari <vyom.tewari at oracle.com> wrote:
>> 
>> Hi All,
>> 
>> Please review my changes for below bug.
>> 
>> Bug:            JDK-8068887 : java.lang.Throwable could use Collections.emptyList for suppressedException
>> Webrev: http://cr.openjdk.java.net/~vtewari/8068887/webrev.00/webrev/
>> 
>> This change ensure that  fewer classes are loaded in a simple(hello world) program, and thus a very very small start-up footprint improvement.
> 
> Looks okay to me (as Alan pointed out, a space is missing in “=Collections.emptyList”.  

+1 

-Chris.


More information about the core-libs-dev mailing list