8174823: Module system implementation refresh (3/2017)
authoralanb
Wed, 22 Mar 2017 16:26:17 +0000
changeset 44376 d1cd4860ffe4
parent 44222 9ad85c8672f2
child 44377 664d5912500e
8174823: Module system implementation refresh (3/2017) Reviewed-by: mchung
jaxp/src/java.xml/share/classes/com/sun/org/apache/xalan/internal/xsltc/trax/TemplatesImpl.java
--- a/jaxp/src/java.xml/share/classes/com/sun/org/apache/xalan/internal/xsltc/trax/TemplatesImpl.java	Thu Mar 16 16:34:35 2017 +0000
+++ b/jaxp/src/java.xml/share/classes/com/sun/org/apache/xalan/internal/xsltc/trax/TemplatesImpl.java	Wed Mar 22 16:26:17 2017 +0000
@@ -486,7 +486,7 @@
             ModuleDescriptor descriptor =
                 ModuleDescriptor.newModule(mn, Set.of(ModuleDescriptor.Modifier.SYNTHETIC))
                                 .requires("java.xml")
-                                .exports(pn)
+                                .exports(pn, Set.of("java.xml"))
                                 .build();
 
             Module m = createModule(descriptor, loader);