Court rules Oracle software code to have copyright shield, WSJ says