<div dir="ltr"><div>Hi Alan,<br><br></div>thanks for the suggestion. That's fine for me. I've copied the empty SCTP stubs from the macosx to the aix directory as well and updated the make file accordingly (in the patch for "8031581: PPC64: Addons and fixes for AIX to pass the jdk regression tests"). <br>
<div><div><div class="gmail_extra"><br></div><div class="gmail_extra">Therefore, the changes to the three tests:<br><br>test/com/sun/nio/sctp/SctpChannel/Util.java<br>test/com/sun/nio/sctp/SctpMultiChannel/Util.java<br>test/com/sun/nio/sctp/SctpServerChannel/Util.java<div>
<br>can be considered obsolete.<br><br></div><div>Regards,<br></div><div>Volker <br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 14, 2014 at 8:13 PM, Alan Bateman <span dir="ltr"><<a href="mailto:Alan.Bateman@oracle.com" target="_blank">Alan.Bateman@oracle.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 14/01/2014 16:57, Volker Simonis wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
:<br>
<br>
test/com/sun/nio/sctp/<u></u>SctpChannel/Util.java<br>
test/com/sun/nio/sctp/<u></u>SctpMultiChannel/Util.java<br>
test/com/sun/nio/sctp/<u></u>SctpServerChannel/Util.java<br>
<br>
- On AIX, we currently haven't implemented SCTP but we nevertheless<div><br>
compile the shared SCTP classes into the runtime class library. This way<br>
the AIX JDK can at least compile SCTP applications altough it can not run<br>
them. To support this scenario, the runtime check for the availability of<br>
SCTP has to be extended to catch UnsatisfiedLinkError and<br>
NoClassDefFoundError. UnsatisfiedLinkError will be thrown the first time<br>
when the class SctpChannelImpl will be loaded because it cannot load the<br>
its native support library in the static initialisation section. On the<br>
next load attempt of the class, a NoClassDefFoundError will be thrown<br>
because of the previously failed initialisation.<br>
<br>
</div></blockquote>
OS X has the same issue and the solution used there are stub implementations that just throw UOE. Details in jdk/src/macosx/classes/sun/<u></u>nio/ch/sctp and that maybe that would work for AIX too.<span><font color="#888888"><br>
<br>
-Alan.<br>
</font></span></blockquote></div><br></div></div></div></div>