Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

13
  • @Sebastian: I tried it, but I get the same error. Strangely, when I try to access the class loader from inside of the thread, it says it's not my LibraryLoader. So I got it by setting the loader variable to final. Commented Apr 27, 2011 at 20:34
  • this will not work, the CCL is used entirely differently. You need the Runnable impl to be loaded by the libraryLoader Commented Apr 27, 2011 at 21:15
  • @bestsss: what exactly do you mean by "load the runnable with libraryLoader"? Commented Apr 27, 2011 at 21:23
  • Unfortunately, the LibraryLoader will first delegate to the original system classloader which will load the runnable. The runnable's class will be associated with that 'system' class loader and thereby not see the swt.Point. Commented Apr 27, 2011 at 21:25
  • @Sebastian: so you're saying that this particular method won't work? Commented Apr 27, 2011 at 21:35