migration to java1.6