An Oracle lawsuit is giving Google a golden opportunity to regain its non-evil image. The search giant has been thumped lately on privacy, antitrust and governance grounds. But it looks almost virtuous in a patent spat with Larry Ellison's Oracle

Since its 2004 initial public offering that came with a vow to make the world better, Google's halo has toppled. The company has rattled privacy advocates. Infractions have included using customer data from Google+, YouTube and sister sites to inform Internet searches, and tricking Apple's Safari Web browser on iPhones into overriding privacy settings – something the company reversed only after getting caught.

Corporate governance hasn't been stellar either. Founders Larry Page and Sergey Brin and chairman Eric Schmidt control 66 per cent of shareholder votes with only a quarter of the stock, thanks to super-voting shares issued in the IPO. And the founders are proposing a third class of non-voting shares, ensuring their future dominance over minority investors. Meanwhile, antitrust troubles loom. Regulators seem bent on proving Google uses its roughly 65 per cent market share in search to muscle out, say, YouTube's competitors.

Story continues below advertisement

That's why the Oracle case may be oddly welcome. The software behemoth claims Google infringed patents and copyrights by copying parts of Oracle's Java software platform for the Android smartphone operating system. Google says it used only publicly available portions and created the rest.

Many legal experts doubt the material at issue – computer language connecting programs and operating systems – can even be copyrighted. But it's particularly irksome to techies that Oracle acquired Java by buying Sun Microsystems which, in true Silicon Valley spirit, never objected to Android. To them, Oracle looks like a patent troll, acquiring legal rights just to sue.

In fairness to Oracle, jurors have already found copyright infringement, although it may have been narrow enough to be legal. Patent and damages issues also remain to be decided. But in a milieu that prefers open innovation to costly lawsuits, Google is looking like a hero by default, at least in this particular conflict. The company should enjoy the love while it lasts.