NXP-15973: remove useless assertion fixing java 8 failure on file encoding