Reputation: 39838
My employer needs a Java class that extends org.eclipse.rse.core.subsystems.SubSystem
, for an Eclipse plugin. Unfortunately the access rules on the library that implements it (org.eclipse.rse.ui_3.3.318.201404091445.jar
, if it helps) marks everything "forbidden" that it doesn't expressly allow, and that class isn't expressly allowed.
I can change the access rule to allow access to that class, but will that cause problems when the plugin is installed on another machine?
Upvotes: 10
Views: 1114
Reputation: 2943
Eclipse help clearly documents that
References to types from a forbidden package result in class loading errors at runtime.
So it is not advisable at all to override this.
Upvotes: 5