Many years ago, when I was starting to collect flashlights, I also did some machine testing; even in the dishwasher; those in the washer-drive was a mechanical stress and sealing, that in the dishwasher only of impermeability. In the dishwasher, however, the colour of the flashlight changed due to the more aggressive soap.