Cooksey v. State
In Cooksey v. State, 524 P.2d 1251, 1255-57 (Alaska 1974), the Alaska Supreme Court announced an exception to the normal rule that a plea of guilty or no contest waives all non-jurisdictional defects in the prosecution. The court held that a criminal defendant need not go to trial to preserve an appellate issue that is dispositive of the defendant's case.
Instead, the defendant and the State (with the trial court's approval) can stipulate that the defendant will enter a special kind of no contest plea -- a plea that preserves the defendant's right to litigate the dispositive issue on appeal. (Cooksey, 524 P.2d at 1255-57)