Hello,

I'm using build #604 on a Linux Environment with SUN JDK 1.3.1-b24.

I just wanted to rename an bean attribute, idea asked if I wish to rename also the 
generated Getter (attribute is readonly).

On clicking yes IDEA crashed, but I couldn't find any logging output, neither in the 
logs-dir, nor in the console. I had to kill the processes as for a minute or so the 
java-processes running IDEA didn't produce any load.

After restarting IDEA, starting the renameing-action on the attribute and clicking on 
the "Yes"-Button to rename the getter too, this didn't abolish IDEA this time, but 
generated the false attribute name into every reference to the attribute except the 
declaration. Example:

================================================

// before:
private String foo = null;

public SomeConstructor( String _aParam ) {
    foo = _aParam;
    somePrivateMethod();
}

public void somePrivateMethod() {
    someResult = someOtherMethod( foo );
}

public String getFoo() {
    return foo;
}

================================================

// after renameing the attribute "foo" to "bar":
private String bar = null;

public SomeConstructor( String _aParam ) {
    getBar = _aParam;
    somePrivateMethod();
}

public void somePrivateMethod() {
    someResult = someOtherMethod( getBar );
}

public String getBar() {
    return getBar;
}

================================================

This behavior is reproducable. Hope it helps...

Cheers,
    Ralf Fischer
______________________________________________________________________________
Die Nummer, die sich jeder merkt: Ihre 01212 Wunschrufnummer von WEB.DE! 
Jetzt sichern: http://freemail.web.de/?mc=990001


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to