India has not signed the treaty , which restricts the sharing of some nuclear technology with non-member nations , and drew widespread international criticism for conducting nuclear weapons tests as recently as 1998 .