Revisit Collection.toArray(new T[size]) calls in nashorn and dynalink code

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • 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]).

            Assignee:
            Srinivas Dama (Inactive)
            Reporter:
            Sundararajan Athijegannathan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: