RFR(M): 8147591: Revisit Collection.toArray(new T[size]) calls in nashorn and dynalink code
Hannes Wallnoefer
hannes.wallnoefer at oracle.com
Thu Jan 28 10:06:15 UTC 2016
+1
I don't think it will have any measurable effect but it looks tidier anyway.
Hannes
Am 2016-01-28 um 10:49 schrieb Michael Haupt:
> Dear all,
>
> please review this change by Srinivas Dama, which I'm sponsoring.
> Bug: https://bugs.openjdk.java.net/browse/JDK-8147591
> Webrev: http://cr.openjdk.java.net/~mhaupt/8147591/webrev.00
>
> The change adopts the Collection.toArray(new T[0]) idiom consistently throughout the Nashorn code base.
>
> Best,
>
> Michael
>
More information about the nashorn-dev
mailing list