bluezio edited a comment on pull request #2378:
URL: https://github.com/apache/thrift/pull/2378#issuecomment-833830005


   This information was included in the original [JIRA 
issue](https://issues.apache.org/jira/projects/THRIFT/issues/THRIFT-5400?filter=allopenissues).
   
       We use the Java Thrift library as an OSGi bundle, taking advantage of 
the existing Export-Package and Import-Package annotations.
       
       After moving to the Thrift 0.13.0 library, we tried using the Thrift 
0.13.0 compiler to produce up-to-date Java code, and our builds are now failing 
with this error message:
   
       Access restriction: The type 'Nullable' is not API (restriction on 
required library 
'/home/antonio/workspaces/eclipse-hawk/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.apache.thrift_0.13.0.jar')
   
       This appears to be due to the fact that the Java library does not list 
the .annotation package that contains the Nullable annotation in the 
Export-Package line of the JAR manifest, but still uses it all over the place 
in the generated code.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to