"Rename" Refactor bug in Intellij v8.01

I notice that there is a bug in Rename Refactor that will not work in v8.01  in the following code

public class BugTest
{
    private String b = new String("me".toLowerCase()),
    d = new String("me222".toLowerCase());

    {
        System.out.println("HELLO");
        b = "2";
        d = "c";
    }

    public static void main(String[] args)
    {
    }
}

b will be able to refactor but not d. Refactoring "Rename" varialbe d to other name has no effect.

Can anyone try that out ?

Please sign in to leave a comment.