Re: [Clirr-devel] working towards release 0.4
Status: Alpha
Brought to you by:
lkuehne
From: <lak...@t-...> - 2004-09-02 04:22:45
|
Fixed Lars Kühne wrote: > public class Example > { > private static void method(JComponent comp) > { > // yes, it is possible to define a class here... > class A1 extends MouseAdapter > { > } > comp.addMouseListener(new A1()); > } > } > > This results in error 1002, which means that ScopeSelector was "Unable > to find information in class " + enclosingClass.getClassName() + " > referring back to nested class " + jclassName" > > The reason is that the compiler mangles the classname for A1 into > Example$1A1, so the ScopeSelector gets confused by the classname 1A1 > being different from the constant name A1 in the enclosing class. > > Hmmm - I'll try to figure it out tomorrow if nobody beats me to it... |