[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Access restriction: The type WindowsLookAndFeel is not accessible due to restriction on classpath entry C:\Program Files\Java\jdk1.6.0_20\jre\lib\rt.jar

On Wed, Apr 18, 2012 at 5:00 PM, Sievers, Jan <jan.sievers@xxxxxxx> wrote:
> the docs are wrong.
> compilerArgument will work without fork=true

Ok, I couldn't get this to work.
(even through in discouraged as well)
As per http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Ftasks%2Ftask-using_batch_compiler.htm

And -X wasn't giving me any information about passing these options
down into the compiler.

I eventually traced it to
org.eclipse.tycho.compiler.jdt.JDTCompiler compileInProcess()

So there was no way for me to turn this option off.
Hence my workaround.

> Note that com.sun classes are VM vendor specific

Yeah, we are in a controlled environment with no public deployments.
These hack are necessary to work with third party tooling that doesn't
really work well with Java.