The case where the hashmap key value key is null in JDK8

if the key value is null, in jdk7, the putNullKey method is called when put, but there is no handling of null in the put code of jdk8. What does jdk8 do when the key value of put is null?

Feb.28,2022

 static final int hash(Object key) {
        int h;
        return (key == null) ? 0 : (h = key.hashCode()) ^ (h >>> 16);
    }
keynullhash0,

  if ((p = tab[i = (n - 1) & hash]) == null)
            tab[i] = newNode(hash, key, value, null);//nulltable0
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3c552-e855.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3c552-e855.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?