On self-adjoint and J-self-adjoint Dirac-type operators: a case study