FileDescriptor proposal

Brian Jones
Wed Apr 23 15:23:00 GMT 2003

Anthony Green <> writes:

> > One open question is how your approach would work with java.nio.  
> I'm trying to figure out how the current scheme works.
> java/io/ implements a package private constructor
> that takes an int as the file descriptor.  The comment says this
> works because we access this method from C+++ where package private
> is translated to public.  However it looks like
> gnu/java/nio/ uses this method.  How is this
> possible?

gnu/java/nio/ uses the public FileDescriptor() and
not the private FileDescriptor(int).  At least in Classpath when I
looked at it this was the case.

Brian Jones <>

More information about the Java mailing list