kennknowles commented on pull request #13134:
URL: https://github.com/apache/beam/pull/13134#issuecomment-714652074


   The NPE reproduced on `InMemoryJobServiceTest` when mockito tried to mock 
it. I believe it is a bug in the JDK. Annotations that are not present on the 
classpath should be "as if they were not there" but instead the JDK NPEs. Maybe 
they should use checker to eliminate those null errors :-)
   
   Since the annotations are MIT licensed they can be `compile` scope instead 
of `compileOnly` scope. That fixed `InMemoryJobServiceTest`.


----------------------------------------------------------------
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