poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 58597] XWPFDocument causes SecurityException under securitymanager
Date Mon, 09 Nov 2015 11:38:18 GMT

--- Comment #7 from Uwe Schindler (ASF) <uwe@thetaphi.de> ---
Created attachment 33267
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=33267&action=edit

First patch removing many useless setAccessible in POIs internal classes:

It adds getters marked with @Internal annotation. For the issue reported here,
it is a bit more stupid, because you cannot make the method public, because it
is protected by design. I added a public Accessor class with a static method
that delegates. Maybe we shoud fix this in another way.

What do others think?

There are more stuff like this, I just started. There are some of those in
tests, which is easy to fix in a similar way (using Accessor class inside
tests, just placed in right package).

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org

View raw message