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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: