Skip to content

Conversation

rtyley
Copy link

@rtyley rtyley commented Mar 12, 2024

Scrooge's TArrayByteTransport and TReusableMemoryTransport classes both extend libthrift's abstract org.apache.thrift.transport.TTransport class. That class gained 3 new abstract members with apache/thrift#2191 (September 2020), released with libthrift v0.14.0 (February 2021). Consequently, both classes currently fail to compile, due to missing implementations for these methods:

def checkReadBytesAvailable(x$1: Long): Unit = ???
def getConfiguration(): org.apache.thrift.TConfiguration = ???
def updateKnownMessageSize(x$1: Long): Unit = ???

Note that Snyk PR #357 updates only one of several files that needs to be updated for a libthrift upgrade, and the most important file is probably build.sbt, not demos/scrooge-maven-demo/pom.xml.

Scrooge's `TArrayByteTransport` and `TReusableMemoryTransport` classes both
extend libthrift's abstract `org.apache.thrift.transport.TTransport` class.
That class gained 3 new abstract members with apache/thrift#2191
(September 2020), released with libthrift v0.14.0 (February 2021). Consequently,
both classes currently fail to compile, due to missing implementations for these
methods:

def checkReadBytesAvailable(x$1: Long): Unit = ???
def getConfiguration(): org.apache.thrift.TConfiguration = ???
def updateKnownMessageSize(x$1: Long): Unit = ???

Note that Snyk PR twitter#357 updates only
one of several files that needs to be updated for a libthrift upgrade, and
the most important file is probably `build.sbt`, not `demos/scrooge-maven-demo/pom.xml`.
@CLAassistant
Copy link

CLAassistant commented Mar 12, 2024

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants