If the hyperdrive is supposed to turn off if the spaceship hits gravity how were they able to jump to inside starkillers athmosphere?
well since the new movie all does away with the "han lied to country bumpkins" explenation (because lucas is a poor writer isn't a satisfactory in universe explanation) only the "skirting close to black holes = less distance/parsecs" explanation remains.
Han was able to do this because the millenium falcons hyperdrive doesn't turn off when it hits a gravity well. thus interdictors cannot grab it out of hyperspace or stop it leaving.
the millenium falcon is a deathtrap.