Except as provided in § 6-104 of this subtitle, in the trial of a criminal case in which there is a jury, the jury is the judge of law and fact.