[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cp-patches] Patch: java.io.FilePermission.implies checks reversed
From: |
Gary Benson |
Subject: |
Re: [cp-patches] Patch: java.io.FilePermission.implies checks reversed |
Date: |
Thu, 17 Nov 2005 09:52:59 +0000 |
Mark Wielaard wrote:
> On Wed, 2005-11-16 at 15:10 +0000, Gary Benson wrote:
> > 2005-11-16 Gary Benson <address@hidden>
> >
> > * java/io/FilePermission.java (implies): Correct the sense
> > in which action checks are applied.
>
> And you created mauve tests for this. Very nice!
> Patch checked in.
Thank you!
> > Also, as an aside, the (simple) action checks are performed after
> > the (complex) pathname checks. We'd refuse permission slightly
> > faster if we did the action checks first.
>
> Yeah, but I assume that in general programs only try to open files
> that they have permission for, so we have to do all checks anyway
Ah, of course. Never mind then ;)
Cheers,
Gary