Methods of using thiazolidine derivatives of formula (I) to treat cancer,
inflammation, or other disorders related to the activities of protein
phosphatases PTPN12 or PTPN2 in a mammal are disclosed. Pharmaceutical
compositions containing such derivatives are disclosed.