Thanks, Naufal - I'll take a look and let you & Paul know when it's processed.

cheers,
dalibor topic

On 23.05.2016 12:53, Mohamed Naufal wrote:
Hi Paul,

I've already sent a signed copy of the OCA to oracle-ca...@oracle.com.

Thanks,
Naufal

On 23 May 2016 at 16:13, Paul Sandoz <paul.san...@oracle.com> wrote:

Hi Naufal,

Thanks for looking at this.

For us to accept your patch (no matter how small) you need to become a
contributor, which requires that you agree to the Oracle Contributor
Agreement (OCA), see:

  http://openjdk.java.net/contribute/

Thanks,
Paul.

On 22 May 2016, at 12:10, Mohamed Naufal <naufa...@gmail.com> wrote:

Hi,

A call to clear() on Collections#EMPTY_LIST is currently redirected to
AbstractList#clear(), which performs a bunch of checks and creates a
ListItr object, all of which is unnecessary for an EmptyList.

PFA a patch that implements a noop clear() for EmptyList.

Thanks,
Naufal
<EmptyList_clear.diff>



--
<http://www.oracle.com> Dalibor Topic | Principal Product Manager
Phone: +494089091214 <tel:+494089091214> | Mobile: +491737185961
<tel:+491737185961>

ORACLE Deutschland B.V. & Co. KG | Kühnehöfe 5 | 22761 Hamburg

ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher

<http://www.oracle.com/commitment> Oracle is committed to developing
practices and products that help protect the environment

Reply via email to