diff -r f95d63e2154a -r 828eafbd85cc src/share/vm/memory/dump.cpp --- a/src/share/vm/memory/dump.cpp Tue Nov 23 13:22:55 2010 -0800 +++ b/src/share/vm/memory/dump.cpp Wed Dec 01 18:26:32 2010 -0500 @@ -1365,7 +1365,7 @@ ResourceMark rm; // Preload classes to be shared. - // Should use some hpi:: method rather than fopen() here. aB. + // Should use some os:: method rather than fopen() here. aB. // Construct the path to the class list (in jre/lib) // Walk up two directories from the location of the VM and // optionally tack on "lib" (depending on platform) @@ -1504,7 +1504,7 @@ } else { char errmsg[JVM_MAXPATHLEN]; - hpi::lasterror(errmsg, JVM_MAXPATHLEN); + os::lasterror(errmsg, JVM_MAXPATHLEN); tty->print_cr("Loading classlist failed: %s", errmsg); exit(1); }