-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 9
-
Component/s: core-libs
-
b104
-
generic
-
generic
See: http://shipilev.net/blog/2016/arrays-wisdom-ancients/
There are a few Collection.toArray(new T[size]) calls in dynalink and nashorn code - in few places Collection's size is used. Revisit if we can use Collection.toArray(new T[0]).
There are a few Collection.toArray(new T[size]) calls in dynalink and nashorn code - in few places Collection's size is used. Revisit if we can use Collection.toArray(new T[0]).