[
https://issues.apache.org/jira/browse/LUCENE-6923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15044002#comment-15044002
]
ASF subversion and git services commented on LUCENE-6923:
---------------------------------------------------------
Commit 1718197 from [~rcmuir] in branch 'dev/branches/branch_5x'
[ https://svn.apache.org/r1718197 ]
LUCENE-6923: Fix RamUsageEstimator to access private fields
> Fix RamUsageEstimator's access to private fields
> ------------------------------------------------
>
> Key: LUCENE-6923
> URL: https://issues.apache.org/jira/browse/LUCENE-6923
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Robert Muir
> Fix For: Trunk, 5.5
>
> Attachments: LUCENE-6923.patch
>
>
> many classes have in their clinit something like:
> {code}
> static final int BASE_SIZE = RamUsageEstimator.shallowSizeOf(...)
> {code}
> This does inspection of private fields to compute the size, but requires
> {{RuntimePermission("accessDeclaredMembers")}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]