Re: Oracle vs Google facts
You just forgot that Google started using Apache Harmony, which was denied a TCK license by Sun.
It doesn't matter how the OpenJDK is licensed *now*, it matters what license requirements were at the time Google decided to make its own copy of Java.
For the matter MS had to cease its own copy of Java because it was violating Sun license, and was not compatible with "standard" Java.
AFAIK Samba doesn't copy Windows SMB APIs - it just implement the protocols.
Emulator that provides a compatible ABI may not infringe copyright.