[FIXED JENKINS-24873] Use warning type in hash code computation.