Hawthorn has thorns, often to a spectacular degree. The fruit is also like a tiny apple.
 Remember most of our domestic fruit trees arose from wild forebears  with thorns.  Not surprising since they are in the rose family.
 It's not going to be a fruitless pear with black berries....