Issue 72612 - FindBugs unoloader.jar
Summary: FindBugs unoloader.jar
Status: CLOSED FIXED
Alias: None
Product: udk
Classification: Code
Component: code (show other issues)
Version: current
Hardware: All All
: P3 Trivial (vote)
Target Milestone: OOo 2.3
Assignee: Stephan Bergmann
QA Contact: issues@udk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-15 10:57 UTC by Stephan Bergmann
Modified: 2007-03-20 10:27 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
patch (1.88 KB, patch)
2006-12-15 10:58 UTC, Stephan Bergmann
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description Stephan Bergmann 2006-12-15 10:57:59 UTC
Running FindBugs (see <http://findbugs.sourceforge.net/>) on SRC680m197
unoloader.jar:

  > findbugs-1.1.2-rc3/bin/findbugs -textui .../solver/bin/unoloader.jar
  M B DP:
com.sun.star.lib.unoloader.UnoLoader.execute(java.net.URL,java.net.URL,String[])
creates a com.sun.star.lib.unoloader.UnoClassLoader classloader, which should be
performed within a doPrivileged block  At UnoLoader.java:[line 82]
  Warnings generated: 1

Attached patch fixes this.
Comment 1 Stephan Bergmann 2006-12-15 10:58:58 UTC
Created attachment 41440 [details]
patch
Comment 2 Stephan Bergmann 2006-12-15 10:59:56 UTC
.
Comment 3 Stephan Bergmann 2007-01-25 13:26:11 UTC
.
Comment 4 Stephan Bergmann 2007-01-30 15:59:36 UTC
.
Comment 5 Stephan Bergmann 2007-03-20 10:27:08 UTC
.