|Safe to turn off forbidden references compiler errors in this case? [message #1410840]
|Thu, 21 August 2014 19:21
| Felix Dorner
Registered: March 2012
I need to find a quick hack to counter a missing package export in an
upstream plugin. Here's the scenario:
Class B extends A
Class C extends B
Plugin A exports A2, but not A1. I need to call from C a protected
method in A and the compiler complains that the method isn't accessible.
Is it safe to turn off the option to convert forbidden reference access
into compiler errors in this case? Afaiu this should work, class loading
isn't affected here is it? I tested and I don't see any issues at runtime.
Thanks for comments,
Powered by FUDForum
. Page generated in 0.01808 seconds