Bug 43108 - [PATCH] catching system properties accesses that may throw security exceptions
Summary: [PATCH] catching system properties accesses that may throw security exceptions
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: 3.0-dev
Hardware: Other other
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
: 36671 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-08-13 06:14 UTC by Daniel White
Modified: 2009-02-18 10:26 UTC (History)
1 user (show)



Attachments
Tar BZip2 format subversion patch against code checked out on 13th August 2007 (870 bytes, patch)
2007-08-13 06:16 UTC, Daniel White
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel White 2007-08-13 06:14:11 UTC
We're using POI in server environments with tight security settings so we have
been using some customised code to catch exceptions thrown when system
properties are accessed. This patch catches the security exceptions and assigns
a sensible default value. The TempFile class also needs modifying but our
solution has been to use the code used elsewhere in our application for creating
temporary files.

(My first patch, apologies if I've been an idiot in any way!)
Comment 1 Daniel White 2007-08-13 06:16:24 UTC
Created attachment 20655 [details]
Tar BZip2 format subversion patch against code checked out on 13th August 2007
Comment 2 Nick Burch 2007-08-15 07:19:46 UTC
Thanks, patch applied

In future, there's no need to compress very small patches, as space isn't an
issue, and it makes it more faff to scan through them!
Comment 3 David Fisher 2009-02-18 10:26:54 UTC
*** Bug 36671 has been marked as a duplicate of this bug. ***