[osgi-dev] ML for questions of Java VM Spec

Andrea Rodriguez rodryz at gmail.com
Thu Jul 28 10:45:31 EDT 2011


Hi,
i don't know the appropriate JVM ML, but ...maybe you got the unexpected
SocketException depending on the underlying "socket implementation factory"
(that may be different from the standard one) used in your
application/system/jvm...

bye
Andrea

On Thu, Jul 28, 2011 at 4:02 PM, Ikuo Yamasaki
<yamasaki.ikuo at lab.ntt.co.jp>wrote:

> Hi OSGi Experts,
>
> First of all, although I know osgi-dev ML is not the appropriate one for
> this question, please let me ask the following question.
>
> It would be very helpful if anyone could tell me the appropriate ML for
> confirming Java VM Spec (For example, J2SE 1.4) like osgi-dev ML for
> OSGi Spec.
>
> --------------------------------------------
> [The concrete question I would like to ask]
>
> - java.net.Socket#connect() of the java VM, which I run, throws NOT
> java.net.NoRouteToHostException BUT java.net.SocketException even in the
> case that no route to the host is found.
>
> - Javadoc of java.net.Socket#connect() just says "throws IOException".
>
>
> http://download.oracle.com/javase/1.4.2/docs/api/java/net/Socket.html#connect(java.net.SocketAddress)
>
> IMO, NoRouteToHostException must be thrown even if the javadoc does not
> explicitly declares NoRouteToHostException.
>
> I would like to confirm whether it IS compliant to Java VM Spec for Java
> VM Experts.
>
> --------------------------------------------
>
> Thank you in advance,
>
> =======
> Ikuo YAMASAKI
>
>
> _______________________________________________
> OSGi Developer Mail List
> osgi-dev at mail.osgi.org
> https://mail.osgi.org/mailman/listinfo/osgi-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.osgi.org/pipermail/osgi-dev/attachments/20110728/e3e34755/attachment.html


More information about the osgi-dev mailing list