IME the boarding pass fare code isn't the final indicator during rebooking.
Several times when I've been rebooked my new boarding pass will show J or Y, however I still only earn based on the original fare class. But other times I've also earned as if it were a full Y or J fare. All depends on how the AAgent actually processes it, it can go both ways, YMMV.