Community
Participate
Working Groups
For some obscure reasons I have project that needs to have the PDE classpath container before the JRE classpath container. Using the project properties pages Order tab this configuration was set up and the projects compile fine. The projects were then checked into SCM and subsequently checked out by another developer into a different workspace/machine. Problem is, the classpath container order is not respected in the new workspace. While the text of the .classpath file looks good and the properties page looks good, the actual compilation considers the JRE classpath container first. Deleting the JRE container and re-adding it fixes the problem. Note that the particular topic here is access restrictions. The particular bundle at hand has a copy of some JRE classes and is exporting them for others to see. Normally the JRE classpath container would hide these (they are com.sun....). So when the problem happens there are access restriction errors on all references to com.sun... code. This may be a JDT issue...
Moving to JDT.
Jay, please see what needs to be done, Thanks.
Jeff, Would it be possible to attach the 'other' classpath container you used? I tried making a jar our ot some of the restricted classes from com.sun package, however not able to reproduce the problem. Thanks.
nope. That is long gone. I;ll look to see if I can recreate but it will be a few days
I haven't heard of this problem again. Hence, closing the bug. Jeff, please feel free to reopen if you come across this again.
Verified for 3.7M5