GOOGLE LLC v. ORACLE AMERICA, INC. is surprisingly elaborate considering that fair use doctrine is already settled. We think that Google could have won even without the fair use doctrine. Snippets of code must matter to deserve copyright protection.
In Canada, Google would have lost under fair use doctrine, because commercial use always negates fair use under the Canadian Copyright Act. Canada doesn\’t have much say on Any monetization in Canada will put you under the economic copyright regime, so you\’ll need a licence. However, even though Google has business in Canada, it is safe to say that any significant tech-related lawsuit will be brought under US and California law in 99% of the cases.