The code may not be based on their code, but I don't see how you can have an emulation of X that isn't based on X. Imitation may be the sincerest form of flattery, but there's nothing stopping them from including some of the other forms. Plus a little gratitude, maybe.
Arent Google and Oracle fighting the emulation X not based on X right now? (where X is Java API)