Get SWT classes via reflection running from a java agent

75 views Asked by At

I have developed a Java agent which uses the Attach API to attach to Eclipse. I want to use reflection so I can get the UI Thread and dispatch some calls. The problem is I can't get the org.eclipse.swt.Display class through reflection. I get the ClassNotFoundException. Any ideas why this happens and how I can successfully use reflection in this case?

0

There are 0 answers