Google’s use of a small portion of the Java SE API is “fair use”.