This story was updated Friday morning with details of a similar suit against Facebook Inc.

If Oracle admitted that it does not want Black board members, “it would be racist but honest,” says a shareholder suit against the company and certain directors alleging that its false commitment to diversity has financially harmed investors.