This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Illegal Package-Private Accesses Yet Again!


>>>>> "Ranjit" == Ranjit Mathew <rmathew@hotmail.com> writes:

Michael> Please, please, please, let me submit a real patch for the
Michael> NIO issue.

Ranjit> For the READ, WRITE, APPEND, EXCL, SYNC and DSYNC flags,
Ranjit> I think just making them public is good enough, no?

I think so too.  Michael, what do you intend here?
Or do you just want to wait until the classpath bits are resolved?

Ranjit> Ditto for the available( ) method, as read( ), unlock( ),
Ranjit> size( ), etc. are all public anyway in
Ranjit> gnu/java/nio/channels/FileChannelImpl and the class itself
Ranjit> is marked public.

Can't untrusted code open files using these classes?  If so, then they
have to change somehow, as this is a security hole.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]