6681796: hotspot build failure on gcc 4.2.x (ubuntu 8.04) w/ openjdk 6
Summary: Fixed the cast from char* to const char* and tried to use const char* as much as possible
Reviewed-by: never, kamg
Contributed-by: xiaobin.lu@sun.com
cfeea66a3fa8ca3686a7cfa2d0ce8ab0169f168d jdk7-b24
cbc8ad9dd0e085a607427ea35411990982f19a36 jdk7-b25
9410f77cc30c604d1caf7c9fe3a57fa19e1acbe8 jdk7-b26
11b4dc9f2be3523ef989a0db8459eb56b3045c3a jdk7-b27