Github user markap14 commented on the issue:
https://github.com/apache/nifi/pull/752
@YolandaMDavis wow that's a good catch and is very... odd. I think this is
actually a JDK bug. I'm about 99% sure that the anonymous inner class *should*
be able to access that method. And if it can't, it should be a compile-time
error not a runtime error. In fact, the Javadocs for that error even explicitly
say:
> Normally, this error is caught by the compiler; this error can only occur
at run time if the definition of a class has incompatibly changed.
I'm quite certain that the definition of the class has not changed. In any
event, I believe the proposed solution is a reasonable one, so I implemented it
and pushed a new commit. I also addressed your other feedback by making the URI
path a constant. Good call.
Thanks for taking the time to review this. Let me know if you run into
anything else. Thanks!
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---