TMDM-7267 Fix JDK6 compilation