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

Nashorn should not use jdk.internal.module.Modules API

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 9
    • 9
    • core-libs
    • b122
    • generic
    • generic

    Description

      Nashorn creates new Modules using jdk.internal.module.Modules and also managed module export/read edges via Modules.addReads, Modules.addExports API.

      Nashorn should use public Layer API (java.lang.reflect.Layer, .ModuleDescriptor) to create modules and use java.lang.reflect.Module addReads, addExports API from generated/loaded code of the appropriate module to manage module export/read links.

      Attachments

        Activity

          People

            sundar Sundararajan Athijegannathan
            sundar Sundararajan Athijegannathan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: