You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Liu Jiayu (Jira)" <ji...@apache.org> on 2022/05/09 10:13:00 UTC

[jira] [Created] (THRIFT-5582) Improve TProtocol.java

Liu Jiayu created THRIFT-5582:
---------------------------------

             Summary: Improve TProtocol.java
                 Key: THRIFT-5582
                 URL: https://issues.apache.org/jira/browse/THRIFT-5582
             Project: Thrift
          Issue Type: Improvement
          Components: Java - Compiler, Java - Library, Kotlin - Compiler
            Reporter: Liu Jiayu


Currently Kotlin compiler generates an extension file per package in order to enhance TProcotol.java and have a clean generated file. The extension methods are inline only so no impact on the runtime but these methods can further be helpful for Java libraries.

We can improve the TProtocol.java by incorporating these methods, and also clean up the code a bit by splitting into read and write interfaces.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)