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

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

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: