[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] Patch: java.io.FilePermission.implies checks reversed
From: |
Gary Benson |
Subject: |
[cp-patches] Patch: java.io.FilePermission.implies checks reversed |
Date: |
Wed, 16 Nov 2005 15:10:33 +0000 |
Hi again,
The checks at the end of java.io.FilePermission.implies are backward.
They're supposed to be checking that fp's actions are a subset of this
object's actions, but they're actually checking that this object's
actions are a subset of fp's. The attached patch fixes.
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.
Cheers,
Gary
patch
Description: Text document
- [cp-patches] Patch: java.io.FilePermission.implies checks reversed,
Gary Benson <=