[eclipse-maintainers] Re: Eclipse 3.0 Running on Kaffe

Grzegorz B. Prokopski gadek@debian.org
Wed, 12 Jan 2005 02:43:50 -0500


On Tue, 2005-11-01 at 00:04 -0600, Jerry Haltom wrote:
> The sources for these packages is located at:
> 
> http://kyoto.larvalstage.net/ubuntu/warty
> 
> These are compiled for my desktop installation of Ubuntu warty/hoary.
> The source packages should be re-compilable on unstable. PLEASE
> RECOMPILE!

I did, but using free-java-sdk.  Unfortunatelly jikes we have in Debian
seems to be not good enough to compile it.  After a while I got this:

runtime.jar:
    [mkdir] Created
dir: /mnt/beta/tmp/eclipse-build/eclipse-3.0.1/source-tree/plugins/org.eclipse.core.runtime/temp.folder/runtime.jar.bin
    [javac] Compiling 158 source files
to /mnt/beta/tmp/eclipse-build/eclipse-3.0.1/source-tree/plugins/org.eclipse.core.runtime/temp.folder/runtime.jar.bin
[...]
    [javac] Found 2 semantic errors compiling
"/mnt/beta/tmp/eclipse-build/eclipse-3.0.1/source-tree/plugins/org.eclipse.core.runtime/src/org/eclipse/core/internal/registry/ExtensionRegistry.java":

    [javac]     52.                                 ListenerInfo
listenerInfo = (ListenerInfo) listenerInfos[i];
    [javac]                                         ^----------^
    [javac] *** Semantic Error: The static type
"org.eclipse.core.internal.registry.ExtensionRegistry
$ExtensionEventDispatcherJob" must use a qualified name to access the
non-static member type
"org.eclipse.core.internal.registry.ExtensionRegistry$ListenerInfo" of
the enclosing type
"org.eclipse.core.internal.registry.ExtensionRegistry".


    [javac]     52.                                 ListenerInfo
listenerInfo = (ListenerInfo) listenerInfos[i];
    [javac]
^----------^
    [javac] *** Semantic Error: The static type
"org.eclipse.core.internal.registry.ExtensionRegistry
$ExtensionEventDispatcherJob" must use a qualified name to access the
non-static member type
"org.eclipse.core.internal.registry.ExtensionRegistry$ListenerInfo" of
the enclosing type
"org.eclipse.core.internal.registry.ExtensionRegistry".



Is this a jikes bug?  Or is it missing some option to accept such code?
Any ideas how can we (slightly) alter the source to make it work?

Cheers,

				Grzegorz B. Prokopski
-- 
Grzegorz B. Prokopski           <gadek@sablevm.org>
SableVM - Free, LGPL'ed Java VM  http://sablevm.org
Why SableVM ?!?                  http://sablevm.org/wiki/Features
Debian GNU/Linux - the Free OS   http://www.debian.org