Twenty bucks says a large part of the code from the F-35 (that was confirmed to have been hacked and stolen by the Chinese) winds up in it's Chinese twin-engined cousin.
Unfortunately my sinodefense account is too new to post pics or urls, although you could google image search "j-20 weapons bay revealed" and the third image will be a model of the J-20's bays at a Chinese airshow. But just going by the locations and sizes of the bay doors, in addition to where the intakes have to snake through, it is apparent that the weapons bays are very Raptor-esque.
May I ask... who confirmed that the chinese had hacked and stolen a large part of the code from F-35? Are you refering to firmware or hardware. And if it was firmware, then it had nothing to do with the outlook of the aircraft as you previously claimed. Secondly... episonage is everywhere, every country would want to know what they are up against and so they will try ways and means to get the latest, be it hardware or software of their 'enemy'... and these 'stolen' items, may or may not end up in the weapon system of the said country.
I did the search as you had mentioned... and did a search for raptor's weapon bay... frankly... I don't find them looking alike. And any similarity might just be because that was the most stealthy arrangement. Actually... where would you put a weapon bay in your aircraft by the way?