Yet another issue with Java6