classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sablevm-developer] Sockets in 0.07 might be broken on some non-inte


From: David Bélanger
Subject: Re: [Sablevm-developer] Sockets in 0.07 might be broken on some non-intel arches
Date: Mon, 8 Dec 2003 00:07:58 -0500
User-agent: Mutt/1.3.28i

Actually, not really, I'm getting about the same Mauve results on both
my platforms now (x86 and ppc).  So ignore my previous comments.

BTW, I tested your code on Linux/ppc and it worked.  So, it may be sparc
specific.


David


On Sun, Dec 07, 2003 at 04:46:17PM -0500, David Bélanger wrote:
> 
> Actually, that could explain why I got so many more Mauve test cases
> passed on x86.  I was getting less this weekend and was puzzled, but
> because I changed arch...
> 
> It may be related to small/big endian issues.
> 
> David
> 
> 
> On Sat, Dec 06, 2003 at 11:59:07PM -0500, Grzegorz B. Prokopski wrote:
> > Hi!
> > 
> > It really intrigued me when Mark said that Sockets work for him with
> > development [1] version of SableVM (which uses latest GNU Classpath).
> > 
> > After doing some tests and many compilations I figured out that the
> > error doesn't show up on my Intel machine but does on Sparc:
> > 
> > address@hidden:~/sablebot$ ../usr/bin/sablevm -Y sb
> > java.net.SocketException: Invalid argument
> >    at gnu.java.net.PlainSocketImpl.getOption (PlainSocketImpl.java)
> >    at gnu.java.net.PlainSocketImpl.connect (PlainSocketImpl.java:216)
> >    at java.net.Socket.connect (Socket.java:402)
> >    at java.net.Socket.connect (Socket.java:366)
> >    at java.net.Socket.Socket (Socket.java:292)
> >    at java.net.Socket.Socket (Socket.java:149)
> >    at sb.main (sb.java:9)
> >    at java.lang.VirtualMachine.invokeMain (VirtualMachine.java)
> >    at java.lang.VirtualMachine.main (VirtualMachine.java:88)
> > 
> > The code of sb.java is simply this:
> > 
> > import java.net.*;
> > public class sb
> > {
> >    public static void main(String[] args) throws Exception
> >    {
> >       java.net.Socket socket = new java.net.Socket("irc.sablevm.org",
> > 6667);
> >       System.out.println(socket);
> >    }
> > }
> > 
> > I have no time now to track it further. I belive that it's probably
> > a problem in Classpath but Cc:ing SableVM-devel just in case.
> > 
> > HTH
> > 
> >                             Grzegorz B. Prokopski
> > 
> > [1] http://devel.sablevm.org
> > 
> > -- 
> > Grzegorz B. Prokopski <address@hidden>
> > Debian GNU/Linux      http://www.debian.org
> > SableVM - LGPLed JVM  http://www.sablevm.org
> > 
> > 
> > 
> > -------------------------------------------------------
> > This SF.net email is sponsored by: IBM Linux Tutorials.
> > Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
> > Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
> > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> > _______________________________________________
> > Sablevm-developer mailing list
> > address@hidden
> > https://lists.sourceforge.net/lists/listinfo/sablevm-developer
> 
> -- 
> 
> ---
> 
> David Bélanger
> Graduate Student
> School of Computer Science
> McGill University
> Office: MC226
> 
> Web page:   http://www.cs.mcgill.ca/~dbelan2/
> Public key: http://www.cs.mcgill.ca/~dbelan2/public_key.txt
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
> Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
> Click now! http://ads.osdn.com/?ad_id78&alloc_id371&opÌk
> _______________________________________________
> Sablevm-developer mailing list
> address@hidden
> https://lists.sourceforge.net/lists/listinfo/sablevm-developer
> 

-- 

---

David Bélanger
Graduate Student
School of Computer Science
McGill University
Office: MC226

Web page:   http://www.cs.mcgill.ca/~dbelan2/
Public key: http://www.cs.mcgill.ca/~dbelan2/public_key.txt





reply via email to

[Prev in Thread] Current Thread [Next in Thread]