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

Update XSLT compiler to generate classes that invoke addReads

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: xml
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b129

      Description


      Translet are generated as a modules but are using the JDK-internal API to make them loose so that they read all unnamed modules. We should change code generate to generate an initializer so that loading the translet class will invoke java.lang.reflect.Module addReads to read the unnamed modules of types references by the code. This will allow us to remove the dependency on the internal API.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dfuchs Daniel Fuchs
              Reporter:
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: