In this paper we study the Hamilton-Jacobi equation
H(x, Du) = F(x)
in a bounded locally Lipschitz domain Omega --> R-n with Dirichlet boundary
conditions. H and f are nonnegative continuous functions and f can have a
very general zero set. A characterization of maximal subsolutions by means
of viscosity test functions is obtained and some stability results are prov
ed.