Discontinuous solutions of a Hamilton-Jacobi equation with infinite speed of propagation