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: > > [EMAIL PROTECTED]:~/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 <[EMAIL PROTECTED]> > 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 > [EMAIL PROTECTED] > 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 _______________________________________________ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath