summaryrefslogtreecommitdiffstats
path: root/src/resources
diff options
context:
space:
mode:
authorUwe Schindler <uschindler@apache.org>2015-11-11 19:11:35 +0000
committerUwe Schindler <uschindler@apache.org>2015-11-11 19:11:35 +0000
commit01f4f634010e4345098f046674075bac1e2a2dbf (patch)
tree3f24f18d160501534913a57f3c4f24f74a31ed0b /src/resources
parent5756b4ca254ff0196f8f1639e5cedaa88e4d22e6 (diff)
downloadpoi-01f4f634010e4345098f046674075bac1e2a2dbf.tar.gz
poi-01f4f634010e4345098f046674075bac1e2a2dbf.zip
Fix remaining security manager problems. Forbiddenapis now passes.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713915 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/devtools/forbidden-signatures.txt7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/resources/devtools/forbidden-signatures.txt b/src/resources/devtools/forbidden-signatures.txt
index 1d9dbfcc7d..75953ccc7e 100644
--- a/src/resources/devtools/forbidden-signatures.txt
+++ b/src/resources/devtools/forbidden-signatures.txt
@@ -26,7 +26,6 @@ java.util.Locale#setDefault(java.util.Locale) @ Do not use methods that depend o
java.util.TimeZone#getDefault() @ Do not use methods that depend on the current Local, either use Locale.ROOT or let the user define the local, see class LocaleUtil for details
java.util.Date#toString() @ Do not use methods that depend on the current Local, either use Locale.ROOT or let the user define the local, see class LocaleUtil for details
-# disabled as there are still invocations that we could not remove easily
-#java.lang.reflect.AccessibleObject#setAccessible(java.lang.reflect.AccessibleObject[], boolean) @ Reflection usage fails with SecurityManagers and likely will not work any more in Java 9
-#java.lang.reflect.AccessibleObject#setAccessible(boolean) @ Reflection usage fails with SecurityManagers and likely will not work any more in Java 9
-#java.lang.reflect.Method#invoke(java.lang.Object, java.lang.Object[]) @ Reflection usage fails with SecurityManagers and likely will not work any more in Java 9
+# Disallow reflection on private object fields/methods
+java.lang.reflect.AccessibleObject#setAccessible(java.lang.reflect.AccessibleObject[], boolean) @ Reflection usage fails with SecurityManagers and likely will not work any more in Java 9
+java.lang.reflect.AccessibleObject#setAccessible(boolean) @ Reflection usage fails with SecurityManagers and likely will not work any more in Java 9