Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8258147

Modernize Nashorn code

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
      None

      Description

      Most of Nashorn code was written to be compatible with Java 7 and never updated. It is high time to introduce diamonds, lambdas, modern collection operations (List.of, Map.computeIfAbsent, etc.) and bring it up to at least Java 11 standards.

        Attachments

          Activity

            People

            Assignee:
            attila Attila Szegedi
            Reporter:
            attila Attila Szegedi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: