[java/cs] Fixed FixOverrides when their vm type is equal