Wine project and Oracle google trail over aoi copyright

Wine is a project that allow user to run windows apps on linux os.
It does that by reimplementation of the windows api.

However Oracle claim that API are copyrightable able and sue google for reimplementation of Java api.

If they win, then wine project will be in the same problem.

microsoft could claim that they have copyright over the windows API, and that therefore this project violate their copyright by reimplement their windows API.

Other open source project will be hurt as well.

In fact any open source project that reimplement a proprietary software will become illegal, not only wine.
Theoretically microsoft will be able to shutdown mono as well.

Linus itself was reimplementation of unix api.

What are the open source organizations are doing to stop this madness?