Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[pde-dev] Access restriction: The type 'Inject' is not API

Hi,

in multiple projects of an RCP client I see the following error:

Access restriction: The type 'Inject' is not API (restriction on
required library
'C:\Users\Lars\workspace\client\.metadata\.plugins\org.eclipse.pde.core\.bundle_pool\plugins\javax.inject_1.0.0.v20091030.jar')

If I check the iavax.inject bundle, the package is exported:

Export-Package: javax.inject;version="1.0.0"

I see that the javax.inject has some access rules defined, see image.
I can also modify them but after a restart the access rules are
restored.

Does anyone know where these access rules are coming from? I do not
see anything related in the MANIFEST.MF of the javax.inject plug-in.

Best regards, Lars

-- 
Eclipse Platform project co-lead
CEO vogella GmbH

Haindaalwisch 17a, 22395 Hamburg
Amtsgericht Hamburg: HRB 127058
Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
USt-IdNr.: DE284122352
Fax (040) 5247 6322, Email: lars.vogel@xxxxxxxxxxx, Web: http://www.vogella.com

Attachment: image.png
Description: PNG image


Back to the top