File tree 1 file changed +12
-0
lines changed
src/main/java/com/fasterxml/jackson/databind
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -151,6 +151,18 @@ public enum MapperFeature implements ConfigFeature
151
151
* may be called to enable access to otherwise unaccessible
152
152
* objects.
153
153
*<p>
154
+ * Note that this setting usually has significant performance implications,
155
+ * since access override helps remove costly access checks on each
156
+ * and every Reflection access. If you are considering disabling
157
+ * this feature, be sure to verify performance consequences if usage
158
+ * is performance sensitive.
159
+ * Especially on standard JavaSE platforms difference is significant.
160
+ *<p>
161
+ * Conversely, on some platforms, it may be necessary to disable this feature
162
+ * as platform does not allow such calls. For example, when developing
163
+ * Applets (or other Java code that runs on tightly restricted sandbox),
164
+ * it may be necessary to disable the feature regardless of performance effects.
165
+ *<p>
154
166
* Feature is enabled by default.
155
167
*/
156
168
CAN_OVERRIDE_ACCESS_MODIFIERS (true ),
You can’t perform that action at this time.
0 commit comments