Applications of the invariance principle for compact processes II. Asymptotic behavior of solutions of a hyperbolic conservation law