Bug 500306 - Read-only files, and projects containing them, cannot be
deleted

If the LocalFile.delete() fails with AccessDeniedException, retry the
operation via old API which doesn't care about read-only flags. This
makes the LocalFile.delete() behavior more predictable across different
platforms.

Change-Id: I33b010469c4e3d6906d1aa2a66e51bf4e53f9f30
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
3 files changed
tree: 7e707686cd66ffb45207c4c83ce2fbcd8bc219ea
  1. bundles/
  2. tests/
  3. .gitignore
  4. CONTRIBUTING.md
  5. pom.xml