Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Safe to turn off forbidden references compiler errors in this case?
Safe to turn off forbidden references compiler errors in this case? [message #1410840] Thu, 21 August 2014 19:21
Felix Dorner is currently offline Felix DornerFriend
Messages: 295
Registered: March 2012
Senior Member
I need to find a quick hack to counter a missing package export in an
upstream plugin. Here's the scenario:

Plugin Upstream
package A1
Class A
package A2
Class B extends A

Plugin Mine
package B1
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,
Felix
Previous Topic:JDT Format different between Luna and Kepler
Next Topic:AST Resolve Bindings in Standalone Application
Goto Forum:
  


Current Time: Thu Dec 12 23:53:07 GMT 2024

Powered by FUDForum. Page generated in 0.02123 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top