The appellate ruling originated from the Federal Circuit, but only because Oracle's suit included a patent claim that didn't last long—the Federal Circuit is the appellate court for all patent-related stuff. For the non-patent stuff (ie. the copyright stuff), the Federal Circuit was supposed to follow precedent from the local circuit: the 9th. They didn't.