<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 20, 2016 at 5:01 PM, Michael Musgrove <span dir="ltr">&lt;<a href="mailto:mmusgrov@redhat.com" target="_blank">mmusgrov@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Wed, Jan 20, 2016 at 4:45 PM, Tomasz Adamski <span dir="ltr">&lt;<a href="mailto:tadamski@redhat.com" target="_blank">tadamski@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span>&gt; A follow up question is, if we add javax.orb.api as module dependency (in<br>
&gt; our wildfly transactions subsystem) then at runtime will we be using the<br>
&gt; classes provided by openjdk-orb?<br>
<br>
</span>If we use openjdk-orb in jboss-modules environment we are sure that openjdk-orb is used as orb classes are not exported as system packages.<br></blockquote><div><br></div></span><div>Okay so we are covered in wildfly and EAP which is good to know.</div><span class=""><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<span><br>
&gt; Is it the case that we cannot avoid this warning but<br>
&gt; that we are safe provided at runtime we use the classes in the openjdk-orb<br>
&gt; jar?<br>
<br>
</span>In standalone scenario it should work correctly too. I will look wheter the error is caused by jdeps tool behaviour or do we indeed have some unwanted runtime references to JDK.<br></blockquote><div><br></div></span><div>In a standalone scenario we are not using modules so the JVM would use rt.jar unless the user updates the bootclasspath. I do not see how it would be possible to avoid the jdeps warnings.</div><span class=""><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<span><br>
&gt; We probably should rename the packages to avoid confusion. What do you think<br>
&gt; Tomasz?<br>
<br>
</span>This can be done but I see one problem: openjdk-orb is a hg repository and we have possibility to synchronize it with JDK head if there are some changes in ORB code. I would have to script it somehow to preserve such possibility. But I agree that it will be nice to do.<br></blockquote><div><br></div></span><div>I agree it would be nice (but I guess not a must have).</div></div></div></div></blockquote><div><br></div><div>On second thoughts, for standalone usage it is a pain to have to tell the user that he must start the JVM with -Xbootclasspath/p:${openjdk-orb.jar} which might be a barrier to adoption for some users.</div><div><br></div><div>Mike</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div><div>Mike </div><div><div class="h5"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
--<br>
Tomasz Adamski<br>
Software Engineer<br>
JBoss by Red Hat<br>
<br>
----- Oryginalna wiadomość -----<br>
&gt; Od: &quot;Jason Greene&quot; &lt;<a href="mailto:jason.greene@redhat.com" target="_blank">jason.greene@redhat.com</a>&gt;<br>
&gt; Do: &quot;Michael Musgrove&quot; &lt;<a href="mailto:mmusgrov@redhat.com" target="_blank">mmusgrov@redhat.com</a>&gt;<br>
&gt; DW: &quot;WildFly Dev&quot; &lt;<a href="mailto:wildfly-dev@lists.jboss.org" target="_blank">wildfly-dev@lists.jboss.org</a>&gt;, &quot;Tomasz Adamski&quot; &lt;<a href="mailto:tadamski@redhat.com" target="_blank">tadamski@redhat.com</a>&gt;<br>
&gt; Wysłane: środa, 20 styczeń 2016 17:13:04<br>
&gt; Temat: Re: [wildfly-dev] How to avoid depending on corba classes in rt.jar<br>
<span>&gt;<br>
&gt; We probably should rename the packages to avoid confusion. What do you think<br>
&gt; Tomasz?<br>
&gt;<br>
&gt;<br>
&gt; &gt; On Jan 20, 2016, at 10:07 AM, Michael Musgrove &lt;<a href="mailto:mmusgrov@redhat.com" target="_blank">mmusgrov@redhat.com</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt; The narayana jts jar has dependencies on internal jdk orb classes. We test<br>
&gt; &gt; that it can work with the openjdk-orb by adding the openjdk-orb jar to the<br>
&gt; &gt; bootclasspath. However, jdeps -jdkinternals reports that we depend on<br>
&gt; &gt; internal JDK APIs. Is it the case that we cannot avoid this warning but<br>
&gt; &gt; that we are safe provided at runtime we use the classes in the openjdk-orb<br>
&gt; &gt; jar?<br>
&gt; &gt;<br>
&gt; &gt; A follow up question is, if we add javax.orb.api as module dependency (in<br>
&gt; &gt; our wildfly transactions subsystem) then at runtime will we be using the<br>
&gt; &gt; classes provided by openjdk-orb?<br>
&gt; &gt;<br>
&gt; &gt; Thanks,<br>
&gt; &gt; Mike<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; Michael Musgrove<br>
&gt; &gt; Transactions Team<br>
</span>&gt; &gt; e: <a href="mailto:mmusgrov@redhat.com" target="_blank">mmusgrov@redhat.com</a> &lt;mailto:<a href="mailto:mmusgrov@redhat.com" target="_blank">mmusgrov@redhat.com</a>&gt;<br>
<div><div>&gt; &gt; t: <a href="tel:%2B44%20191%20243%200870" value="+441912430870" target="_blank">+44 191 243 0870</a><br>
&gt; &gt;<br>
&gt; &gt; Registered in England and Wales under Company Registration No. 03798903<br>
&gt; &gt; Directors: Michael Cunningham (US), Paul Hickey (Ireland), Matt Parson<br>
&gt; &gt; (US), Charles Peters (US)<br>
&gt; &gt;<br>
&gt; &gt; Michael Cunningham (US), Charles Peters (US), Matt Parson (US), Michael<br>
&gt; &gt; O&#39;Neill(Ireland)<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; wildfly-dev mailing list<br>
&gt; &gt; <a href="mailto:wildfly-dev@lists.jboss.org" target="_blank">wildfly-dev@lists.jboss.org</a><br>
&gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br>
&gt;<br>
&gt; --<br>
&gt; Jason T. Greene<br>
&gt; WildFly Lead / JBoss EAP Platform Architect<br>
&gt; JBoss, a division of Red Hat<br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div></div></div><div><div class="h5"><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div>Michael Musgrove</div><div>Transactions Team</div><div>e: <a href="mailto:mmusgrov@redhat.com" target="_blank">mmusgrov@redhat.com</a></div><div>t: <a href="tel:%2B44%20191%20243%200870" value="+441912430870" target="_blank">+44 191 243 0870</a></div><div><br></div><div>Registered in England and Wales under Company Registration No. 03798903</div><div>Directors: Michael Cunningham (US), Paul Hickey (Ireland), Matt Parson</div><div>(US), Charles Peters (US)</div><div><br></div><div>Michael Cunningham (US), Charles Peters (US), Matt Parson (US), Michael O&#39;Neill(Ireland)</div></div></div>
</div></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Michael Musgrove</div><div>Transactions Team</div><div>e: <a href="mailto:mmusgrov@redhat.com" target="_blank">mmusgrov@redhat.com</a></div><div>t: +44 191 243 0870</div><div><br></div><div>Registered in England and Wales under Company Registration No. 03798903</div><div>Directors: Michael Cunningham (US), Paul Hickey (Ireland), Matt Parson</div><div>(US), Charles Peters (US)</div><div><br></div><div>Michael Cunningham (US), Charles Peters (US), Matt Parson (US), Michael O&#39;Neill(Ireland)</div></div></div>
</div></div>