[
https://issues.apache.org/jira/browse/THRIFT-1465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13169835#comment-13169835
]
Ashutosh Chauhan commented on THRIFT-1465:
------------------------------------------
I work on the Hive project and this problem came up there in context of
HIVE-2616. I need to extend the Processor which was generated by thrift
compiler on this idl
http://svn.apache.org/repos/asf/hive/trunk/metastore/if/hive_metastore.thrift .
In my extended Processor https://reviews.apache.org/r/2975/diff/#12 I want to
access some of the methods (namely getProcessMap() and getEmptyArgs()) of the
super class but can't because they are private. As a workaround I resorted to
Reflection. Is it possible to change visibility of these methods ?
> Visibility of methods in generated java code
> --------------------------------------------
>
> Key: THRIFT-1465
> URL: https://issues.apache.org/jira/browse/THRIFT-1465
> Project: Thrift
> Issue Type: Improvement
> Components: Java - Compiler
> Affects Versions: 0.7
> Reporter: Ashutosh Chauhan
>
> Need to resort to reflection to invoke private methods in generated java code.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira