In a large mixing bowl, beat the softened butter and sugar for about 3 minutes, until light and fluffy.
Add the egg and vanilla extract. Beat until well combined.
In a separate bowl, whisk together the flour, baking powder, and salt.
Gradually add the dry ingredients to the butter mixture on low speed. Mix just until a soft dough forms.
Divide the dough in half. Roll each portion between two sheets of parchment paper into a rectangle about ¼ inch thick.
In a small bowl, mix the raspberry jam with the cornstarch until smooth.
Spread a thin, even layer of raspberry filling over each dough rectangle, leaving a small border around the edges.
Starting from the long side, tightly roll each rectangle into a log.
Wrap the logs tightly in plastic wrap and refrigerate for at least 2 hours, or freeze for 30 minutes until firm.
Preheat the oven to 350°F and line baking sheets with parchment paper.
Using a sharp knife, slice the chilled dough logs into ½-inch thick rounds.
Arrange the cookies about 2 inches apart on the prepared baking sheets.
Bake for 10–12 minutes, until the edges are barely golden.
Let the cookies cool completely on the baking sheet so they can firm up before serving.