When I was switching resource packs while holding a barrier, I noticed that the barrier particles were displaying beds when I disabled the resource pack and arrows when I enabled the resource pack. First, it showed the arrow/bed, then it displayed a barrier particle over it, then it cleared away the arrow/bed.
Note that in the resource pack, I didn't modify the barrier texture, and I didn't edit the screenshots either.
Confirmed.