Community
Participate
Working Groups
In the following code class browser doesn't work. Error: Syntax error, insert ";" to complete Statement Release: 3.1M5a ------------------------------------------------------------------------------ import java.util.ArrayList; import java.util.Collection; import java.net.URL; import java.net.URLClassLoader; /** * @author Pavel Krupets */ public class qwe { public qwe() { Collection<URL> urls = new ArrayList<URL>(); ClassLoader cl = new URLClassLoader((URL[])urls.toArray()); cl.//Here class browser doesn't work } }
Pavel, what do you mean by class browser. Do you mean code assist. What do you do to activate the function.
Yes code assist doesn't working (the one that lists members, etc). But this code doesn't seem to be correct. Sorry. I couldn't cast Object[] to URL[].
Moving to JDT/Core then.
Update title.
*** This bug has been marked as a duplicate of 92451 ***