NIO (Non-block & Scatter/Gather)

2006-01-11 Thread Michael Barker
Hi, My name is Mike Barker. I am interesting in contributing to the GNU Classpath project. As a start I have looked the NIO implemenation with regards to Channels (specifically SocketChannel). Attached to this mail is a patch that adds support for configuring a socket to be non-blocking and u

Re: SecurityManager troubles

2006-01-11 Thread Archie Cobbs
Guilhem Lavaux wrote: I must say that I don't understand this problem. Me neither... I do not think it is strictly linked to the VM. I have produced an "artificial" stack trace by tweaking kaffe's VM. Normally this stack trace is hidden by the VM and replaced by a NoClassDefFoundError. Her

Re: SecurityManager troubles

2006-01-11 Thread Guilhem Lavaux
Jeroen Frijters wrote: Gary Benson wrote: Guilhem Lavaux wrote: 3) One solution of the problem is to load some core classes. But it will appear quite soon that some other classes may also be loaded for really wicked applications. It is a limitative solution and I would not support it. Yes.

Re: RMI and java.rmi.server.hostname

2006-01-11 Thread Tom Tromey
> "Lorenz" == Lorenz Witte <[EMAIL PROTECTED]> writes: Lorenz> Currently I meet the problem by modifying the static constructor of Lorenz> gnu.java.rmi.server.UnicastConnectionManager, so that the static field Lorenz> "localhost" is initialized with the value of the Lorenz> java.rmi.server.hos

Some Mauve regressions builder missed

2006-01-11 Thread Mark Wielaard
Hi all, Seems builder.classpath.org misses some regressions. builder can only accurately report when a PASS turns into a FAIL with the exact same message. It deliberately doesn't report new FAILs (since those could be from newly added tests). Since we sometimes use different messages when somethin

[Bug awt/24566] ClassCastException in ImageIO.read( File )

2006-01-11 Thread mark at gcc dot gnu dot org
--- Comment #3 from mark at gcc dot gnu dot org 2006-01-11 19:14 --- This has been fixed in CVS and should work in the next developer snapshot release. -- mark at gcc dot gnu dot org changed: What|Removed |Added

RE: SecurityManager troubles

2006-01-11 Thread Mark Wielaard
Hi Jeroen, On Wed, 2006-01-11 at 08:45 +0100, Jeroen Frijters wrote: > After fixing some IKVM specific bugs, I was able to run the testcase > succesfully with only the attached GNU Classpath fix. That patch is obviously correct. Please do check this in even if other runtimes are still broken :)

[Bug awt/24566] ClassCastException in ImageIO.read( File )

2006-01-11 Thread matighet at bbn dot com
--- Comment #2 from matighet at bbn dot com 2006-01-11 14:28 --- I'm having the same problem, and it is a show stopper for the use of classpath in our project: java.lang.ClassCastException at gnu.java.awt.peer.gtk.GdkPixbufDecoder$GdkPixbufReader.setInput (GdkPixbufDecoder.java:633)

RMI and java.rmi.server.hostname

2006-01-11 Thread Lorenz Witte
Hello everyone, I've been experimenting a little with RMI and GNU Classpath and ran into troubles when client and server were running on different machines. In my setup the client "hercules" is trying to access a UnicastRemoteObject on the server "galahad". The client is able to receive the co

RE: SecurityManager troubles

2006-01-11 Thread Jeroen Frijters
Gary Benson wrote: > Guilhem Lavaux wrote: > > 3) One solution of the problem is to load some core classes. But it > > will appear quite soon that some other classes may also be loaded > > for really wicked applications. It is a limitative solution and I > > would not support it. > > Yes. Exactly

RE: SecurityManager troubles

2006-01-11 Thread Christian Thalinger
On Wed, 2006-01-11 at 08:45 +0100, Jeroen Frijters wrote: > After fixing some IKVM specific bugs, I was able to run the testcase > succesfully with only the attached GNU Classpath fix. > > Can you please see if this patch improves things for you as well? No, same StackOverFlow with jamvm or cacao

Re: SecurityManager troubles

2006-01-11 Thread Gary Benson
Guilhem Lavaux wrote: > I have stumbled across a bug probably shared by all VMs using GNU > Classpath. In Apache Ant a SecurityManager is installed to be able > to execute java application without forking the VM. Thanks to the SM > exiting a VM is forbidden and so ant is protected from the > applic