JVM BUG???

Consider the following code

public class Test
{
public static void main(String arr[])
{
int i=0;
i=i++;
System.out.println|("Value of i is "+i);
}

}

What is the o/p??
I thought it should be 1..but it prints 0..ie the i++ part is ignored..
Can someone explain why??