getValueCache() always returns a ValueCache instance, but that instance may be hollow. If it is hollow, the code throws an ISE. It's an illegal state because the only way to traverse a CLASS_REREF field is from the left, and therefore the referent should have been loaded first.
getValueCache() always returns a ValueCache instance, but that instance may be hollow. If it is hollow, the code throws an ISE. It's an illegal state because the only way to traverse a CLASS_REREF field is from the left, and therefore the referent should have been loaded first.