This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Illegal Package-Private Accesses Yet Again!
- From: Tom Tromey <tromey at redhat dot com>
- To: Ranjit Mathew <rmathew at hotmail dot com>
- Cc: Michael Koch <konqueror at gmx dot de>, java-patches at gcc dot gnu dot org
- Date: 31 Mar 2004 15:21:21 -0700
- Subject: Re: Illegal Package-Private Accesses Yet Again!
- References: <406870ED.735183B6@hotmail.com> <4068717A.C002DB99@hotmail.com><200403292033.05564.konqueror@gmx.de> <40695B15.9060807@hotmail.com>
- Reply-to: tromey at redhat dot com
>>>>> "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