The Supreme Court on Tuesday allowed a class action lawsuit to proceed against Hewlett-Packard Co. that alleges Compaq, now a part of HP, sold defective computers.

The Supreme Court’s action lets stand a 2005 ruling by an Oklahoma state court.