question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

grpc-java-api-checker complains about imports of @ExperimentalApi

See original GitHub issue

Please answer these questions before submitting your issue.

What version of gRPC are you using?

1.11.0 grpc-java-api-checker 1.1.0

What did you expect to see?

Don’t flag imports of @ExperimentalApi types. I don’t see a way to disable that kind of check:

> Task :grpcservice:compileJava
MyClass.java:16: error: [GrpcExperimentalApi] @ExperimentalApi should not be used in application code
import io.grpc.stub.ServerCallStreamObserver;
                   ^
    (see "https://github.com/grpc/grpc-java/issues/1788")

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ericgribkoffcommented, May 12, 2018

Glad that worked. Re your earlier comment:

I guess checking for @Internal makes the most sense in application code at this time.

Correct. The primary intended use for grpc-java-api-checker is for libraries depending on gRPC, with a secondary use case of applications that want to avoid using our internal APIs as well: there’s a bit of a blurb about this at the end of our README.

0reactions
jyanecommented, May 13, 2018

@ericgribkoff Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Executive Order on Prohibiting Certain Imports, Exports, and ...
Executive Order on Prohibiting Certain Imports, Exports, and New Investment with Respect to Continued Russian Federation Aggression.
Read more >
Importing and Exporting | USAGov
Learn how to start importing or exporting. On This Page. Importing and Exporting Basics; Get an Import License or Permit; Get an Export...
Read more >
Import Resources | CPSC.gov
CPSC's Office of Import Surveillance (EXIS) works closely with U.S. Customs and Border Protection (CBP) to identify and examine imported shipments of ...
Read more >
Importing Goods | USDA
USDA follows a standard set of regulations and policies to monitor the import of products both domestically and internationally...
Read more >
Know the import and export laws and regulations
Many governments, including the United States, publish import and export information online ... FMC offers assistance in resolving complaints and disputes, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found