| [news.eclipse.tools.jdt] Re: org.eclipse.jdt.core.JDTCompilerAdapter seems to find invalid Access restrictions |
Could you please open a bug report against JDT/Core with steps to reproduce (build id, test case, ...)?Hallo,
I am currently using the org.eclipse.jdt.core.JDTCompilerAdapter in a feature-based headless build of an RCP product. The build log shows a couple of access restrictions (forbidden references), which actually do not exist and which only occur in the headless build. If I compile the projects inside Eclipse (without using Ant), there are no forbidden references (I ensured that I set the compiler option to report errors in this case). I attached the output of the headless build regarding one of the classes below. Did I find a bug in the JDTCompilerAdapter or am I doing something wrong?