[ 
https://issues.apache.org/jira/browse/THRIFT-3954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15622845#comment-15622845
 ] 

Jens Geyer commented on THRIFT-3954:
------------------------------------

GitHub user ne0h opened a pull request:

    https://github.com/apache/thrift/pull/1119

    Java generator: Added "java.lang." to all generated instances of type…

    … java.lang.Object to enable the usage of "Object" as struct name in thrift.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/filetrain/thrift master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/thrift/pull/1119.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1119
    
----
commit 54aae5baf203bc7fc53fa8cea55d3b2e630a75a0
Author: Max <m...@ne0h.de>
Date:   2016-10-29T13:15:52Z

    Java generator: Added "java.lang." to all generated instances of type 
java.lang.Object
to enable the usage of "Object" as struct name in thrift.

----


> Enable the usage of structs called "Object" in Java
> ---------------------------------------------------
>
>                 Key: THRIFT-3954
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3954
>             Project: Thrift
>          Issue Type: Improvement
>            Reporter: Maximilian Hess
>
> At the moment it is not possible to generate structs called "Object" in 
> Thrift, because Java already uses Object internally.
> My fix adds "java.lang." to all Java Objects to make Thrift-Objects possible.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to