[BZ-1082527] Remove System.out.println from TraitFieldsAndLegacyClassesTest