Finally, I fixed one of the most annoying bugs in Anjuta (#309688).
I think this was the best I did the whole day. OK, I solved a quite annoying exercise and I begin to hate Java because it's slow, it's stupid (you cannot use ! on integers because it claims these are not boolean...) and because it does no have pointers (but NULL-pointer exceptions ;-).