<HTML><BODY><br>Hi Matej<br><br>I reread your answer, and have another question - can Weld run in module path as auto module?<br><br><blockquote style="border-left:1px solid #0857A6; margin:10px; padding:0 0 0 10px;">
        Среда,  9 мая 2018, 14:54 +03:00 от Matej Novotny &lt;manovotn@redhat.com&gt;:<br>
        <br>
        <div id="">






<div class="js-helper js-readmsg-msg">
        <style type="text/css"></style>
         <div>
                <base target="_self" href="https://e.mail.ru/">
                
            <div id="style_15258668840000000431_BODY">Hi Alex,<br>
<br>
in short, there is no official documentation on that because Weld runs in "classpath mode".<br>
<br>
JDK 9  and 10 are short-termed releases and will have no special support.<br>
JDK 11 is something we should be looking at and we are doing that (lately we added support to avoid illegal access there for instance).<br>
<br>
When it comes to JPMS itself, the question is, in what environment are you running?<br>
If it's EE (e.g. in a server like WildFly), then all magic needs to be worked on server side, pretty much. <br>
I know WildFly already has some of it, but I am pretty sure at this point most servers won't fully support JPMS.<br>
<br>
If in SE, then Weld itself is not defined as JPMS module and hence will end up in an unnamed module (Weld has no module-info).<br>
There is no way we can avoid deep reflection on your classes (for instance to be able to intercept non-public methods), therefore you need to make sure your classes<br>
allow us to do that (or rather to unnamed module where Weld resides ATM). Having done that, it should work.<br>
<br>
Matej<br>
<br>
<br>
----- Original Message -----<br>
&gt; From: "Alex Sviridov" &lt;<a href="mailto:ooo_saturn7@mail.ru">ooo_saturn7@mail.ru</a>&gt;<br>
&gt; To: "weld-dev" &lt;<a href="mailto:weld-dev@lists.jboss.org">weld-dev@lists.jboss.org</a>&gt;<br>
&gt; Sent: Tuesday, May 8, 2018 9:51:38 AM<br>
&gt; Subject: [weld-dev] Weld and JPMS<br>
&gt; <br>
&gt; Hi all<br>
&gt; <br>
&gt; Half a year has passed since Java 9 release. Can anyone say if there are any<br>
&gt; documentation,<br>
&gt; solutions etc how to work with JPMS in Weld?<br>
&gt; <br>
&gt; <br>
&gt; --<br>
&gt; Alex Sviridov<br>
&gt; <br>
&gt; _______________________________________________<br>
&gt; weld-dev mailing list<br>
&gt; <a href="mailto:weld-dev@lists.jboss.org">weld-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/weld-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/weld-dev</a><br>
</div>
            
        
                <base target="_self" href="https://e.mail.ru/">
        </div>

        
</div>


</div>
</blockquote>
<br>
<br>-- <br>Alex Sviridov<br></BODY></HTML>