Re: [Clirr-devel] working towards release 0.4
Status: Alpha
Brought to you by:
lkuehne
From: <lak...@t-...> - 2004-08-31 19:55:25
|
Lars Kühne wrote: > Hi guys, > > Olympics are over, and I can start working on Open Source again :-) > > This week I'll try to do some field testing inside my company. > Assuming that I won't find any serious bugs my goal is to release > Clirr 0.4 (both core and maven) next weekend. One of our classes at work had the following construct (simplified): 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... Lars |