JRE 1.6 build errors fixed.

Comment typos fixed.