|
|
Re: Access restriction occured when using "org.eclipse.ui.ide" [message #466272 is a reply to message #465889] |
Tue, 17 April 2007 12:18 |
Nicolai Czempin Messages: 21 Registered: July 2009 |
Junior Member |
|
|
It's not a bug, it's a feature. Internal classes are not safe (they can be changed any time, etc.),
not meant to be used.
If you want to bypass these restrictions, go to
Windows->Preferences->Java->Compiler->Errors/Warnings->Deprecated and Restricted API,
and set the "Forbidden reference (access rules)" to "Warning" (or "Ignore").
nemo schrieb:
> Hello, everyone!
>
> I built an rcp application and dependent on the eclipse
> ide(org.eclipse.ui.ide),the application can run in the eclipse
> workspace, but after i created the .product file and syncronized the
> .product file and the plugin-projects, some errors appeared, they are
> the similar errors like this:
>
> Access restriction: The type IFileEditorInput is not accessible due to
> restriction on required library
> E:\Eclipse-experimental\eclipse\plugins\org.eclipse.ui.ide_3 .3.0.I20070321-1300a.jar
>
> I refreshed, rebuild, or even download a new version of eclipse, but the
> same errors still appear. Could any one tell me how to solve these problems?
>
> Thank you!
|
|
|
|
Powered by
FUDForum. Page generated in 0.03494 seconds