Bug 43108

Summary: [PATCH] catching system properties accesses that may throw security exceptions
Product: POI Reporter: Daniel White <me>
Component: HSSFAssignee: POI Developers List <dev>
Status: RESOLVED FIXED    
Severity: normal CC: dj6v1s502
Priority: P2    
Version: 3.0-dev   
Target Milestone: ---   
Hardware: Other   
OS: other   
Attachments: Tar BZip2 format subversion patch against code checked out on 13th August 2007

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. ***