Why do not cast internal object? [message #77215] |
Wed, 18 June 2003 01:25 |
Eclipse User |
|
|
|
Originally posted by: narushima_to.ybb.ne.jp
Hello, I'm see the source follow method:
org.eclipse.core.internal.boot.InternalBootLoader.startup(
URL pluginPathLocation,
String location, String[] args,
Runnable handler) throws Exception
in this method is to use refrection refer for
call loaderStartup method form Platform instance (that is defined in
InternalPlatform class)
Why this code writtor is not cast? e.g,
--
InternalPlatform p = (InternalPlatform)platform;
--
--
Narushima Hironori mailto:narushima_to@ybb.ne.jp
|
|
|
Re: Why do not cast internal object? [message #77795 is a reply to message #77215] |
Wed, 18 June 2003 15:25 |
Eclipse User |
|
|
|
Originally posted by: chaves.no-spam-please.inf.ufsc.br
Althugh the code in the runtime plug-in is available to every other
plug-in in the platform, it is not in the build path for the boot plug-in
(which would create a circular dependency between them). So the boot
plug-in cannot have any explicit references to classes in the runtime
plug-in.
HTH, Rafael
|
|
|
Powered by
FUDForum. Page generated in 0.04620 seconds