Github user bgould commented on the issue:

    https://github.com/apache/thrift/pull/1119
  
    @Jens-G 
    
    IMO this is a valid use case but it is not necessarily a great idea because 
in general its not very user friendly to design an API that clashes names in 
java.lang.* ... it is even more complicated in Thrift because other languages 
may also have constructs called "Object" (javascript for example).  There is 
not a Java-specific technical reason why this shouldn't be allowed however.
    
    That said, there is a related JIRA, not exactly the same problem because 
java.lang classes do not require import statements, but the idea is the same:
    
    https://issues.apache.org/jira/browse/THRIFT-3301


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to