(Reuters) - Starbucks Corp (SBUX.O) and other coffee companies must put a cancer warning label on coffee products sold in California, a Los Angeles judge ruled.

FILE PHOTO - A woman holds a Frappuccino at a Starbucks store inside the Tom Bradley terminal at LAX airport in Los Angeles, California, United States, October 27, 2015. REUTERS/Lucy Nicholson

Superior Court Judge Elihu Berle said in a proposed decision Wednesday that Starbucks and other companies had failed to show that the threat from a chemical compound produced when roasting coffee was insignificant, court documents showed.

Starbucks and other plaintiffs in the case have until April 10 to file objections.

Officials from Starbucks Corp (SBUX.O), McDonald’s Corp (MCD.N), Dunkin’ Donuts (DNKN.O) and Peet’s did not immediately respond to requests for comment.

The California-based Council for Education and Research on Toxics sued Starbucks and other companies on grounds they failed to provide warnings to consumers that the coffee they sold contained high levels of acrylamide, a toxic and carcinogenic chemical, court documents showed.

Reporting by Nate Raymond; additional reporting by Lisa Baertlein; Editing by G Crosse and Tom Brown

Read more from our friends at Reuters: