classpath
[Top][All Lists]
Advanced

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

Re: FileDescriptor proposal


From: Brian Jones
Subject: Re: FileDescriptor proposal
Date: 23 Apr 2003 08:31:05 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Anthony Green <address@hidden> 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/FileDescriptor.java 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/FileChannelImpl.java uses this method.  How is this
> possible?

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

Brian
-- 
Brian Jones <address@hidden>




reply via email to

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