You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "James E. King, III (JIRA)" <ji...@apache.org> on 2018/03/05 16:31:00 UTC

[jira] [Created] (THRIFT-4506) Remove assertion in Java SASL code that would be ignored in release builds

James E. King, III created THRIFT-4506:
------------------------------------------

             Summary: Remove assertion in Java SASL code that would be ignored in release builds
                 Key: THRIFT-4506
                 URL: https://issues.apache.org/jira/browse/THRIFT-4506
             Project: Thrift
          Issue Type: Bug
          Components: Java - Library
    Affects Versions: 0.11.0
            Reporter: James E. King, III
            Assignee: James E. King, III
             Fix For: 0.12.0


There is an assertion in the SASL transport for Java that will only be processed in debug builds, at https://github.com/apache/thrift/blob/master/lib/java/src/org/apache/thrift/transport/TSaslTransport.java#L298.  The preceeding while loop can be changed to guarantee this assertion in all builds.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)