Description
I'm not sure yet where to best file this problem, so I'll start here in bazel-contrib/rules_jvm_external
just because "that's where I've encountered it" - fully understanding that the root cause of this may be ... somewhere else, "upstream" - either in Error Prone or Guava or even the JavaDoc tool itself?
If, on https://github.com/enola-dev/enola/ at rev 3ea5b64d2ba5cbd1a9d43b9e521ac9fe0879194f
(which isn't on main
just yet, but about to be merged as part of enola-dev/enola#1115) I add "@enola_maven//:com_google_guava_guava"
here, and then run bazelisk build //java/dev/enola:javadoc
, then it fails with this sort of "interesting" 🤧 error:
/tmp/unpacked-sources16276136151394385243/com/google/common/base/PatternCompiler.java:33: error: annotation @RestrictedApi is missing a default value for the element 'link'
@RestrictedApi(
^
/tmp/unpacked-sources16276136151394385243/com/google/common/base/PatternCompiler.java:42: error: annotation @RestrictedApi is missing a default value for the element 'link'
@RestrictedApi(
@cushon I thought perhaps this interests you? (Feel absolutely free to just completely totally ignore this!)