I think in order for it to cause any damage you would have to be bent at an odd angle suddenly. Underwear typically aren't tight enough to do any damage so I wouldn't worry about it, just enjoy the view you get in class. Maybe boxerbriefs would be more comfortable?