Josh Hansen created THRIFT-2697:
-----------------------------------
Summary: libthrift 0.9.1 in Maven lacks
AbstractNonblockingServer.AsyncFrameBuffer
Key: THRIFT-2697
URL: https://issues.apache.org/jira/browse/THRIFT-2697
Project: Thrift
Issue Type: Bug
Components: Deployment, Java - Library
Affects Versions: 0.9.1, 0.9.2
Environment: OS X Mavericks 10.9.4
XCode 5.1.1
g++ --version:
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.3.0
Thread model: posix
java -version:
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
Reporter: Josh Hansen
Using thrift built from git's 0.9.2 tag, I generated a very simple Thrift
service for use in Java:
thrift --gen java service.thrift
The generated class depends on AbstractNonblockingServer.AsyncFrameBuffer, but
libthrift 0.9.1 in the Maven repositories does not include it, in spite of the
fact that it is clearly present in the 0.9.1 source:
https://github.com/apache/thrift/blob/0.9.1/lib/java/src/org/apache/thrift/server/AbstractNonblockingServer.java
(I know I could be faulted for trying to mix a 0.9.2 executable with a 0.9.1
library, but I don't think that's the source of the problem here. The 0.9.2
executable is generating a class that depends on something that should be
present in the 0.9.1 library, but isn't.)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)