Updated

A Ugandan court is expected to rule Friday on a petition by activists who say the East African country's new anti-gay measure was passed during a parliamentary session that lacked quorum.

If the panel of judges on Uganda's Constitutional Court agrees, the whole law could be jettisoned. If no, then the judges will continue to hear the activists' argument that the law is unconstitutional.

The anti-gay measure provides for jail terms of up to life for those convicted of engaging in gay sex.

Although the legislation has wide support in Uganda, it has been condemned in the West and rights groups have described it as draconian.

The law was passed by lawmakers in December and enacted by the president in February.