I currently have a p229 in 357sig. The barrel length should not make a difference at self defense ranges of fifty yards or closer when fired from a p239. Barrel length difference of about a quarter inch has little effect on power. What effects performance is shot placement in most cases.
The company I work for at one time had to do ballistics performance on a bulletproofing material. Being the resident gun nut......err.......expert, I was tapped to do the shooting. With 9mm to 45acp in handguns which included the 357 sig. Ballistic jell penetration showed little difference when barrel length was looked at in close quarters battle house distance was used.
In real world use by me on the family ranch, the 357sig brought down a doe and coyote at thirty yards. Again shot placement played a major factor in how the round performed.
In short, I would not worry about the short barrel in a p239 when in a defense situation.