src/share/vm/memory/dump.cpp

changeset 2322
828eafbd85cc
parent 2314
f95d63e2154a
child 2497
3582bf76420e
     1.1 --- a/src/share/vm/memory/dump.cpp	Tue Nov 23 13:22:55 2010 -0800
     1.2 +++ b/src/share/vm/memory/dump.cpp	Wed Dec 01 18:26:32 2010 -0500
     1.3 @@ -1365,7 +1365,7 @@
     1.4    ResourceMark rm;
     1.5  
     1.6    // Preload classes to be shared.
     1.7 -  // Should use some hpi:: method rather than fopen() here. aB.
     1.8 +  // Should use some os:: method rather than fopen() here. aB.
     1.9    // Construct the path to the class list (in jre/lib)
    1.10    // Walk up two directories from the location of the VM and
    1.11    // optionally tack on "lib" (depending on platform)
    1.12 @@ -1504,7 +1504,7 @@
    1.13  
    1.14    } else {
    1.15      char errmsg[JVM_MAXPATHLEN];
    1.16 -    hpi::lasterror(errmsg, JVM_MAXPATHLEN);
    1.17 +    os::lasterror(errmsg, JVM_MAXPATHLEN);
    1.18      tty->print_cr("Loading classlist failed: %s", errmsg);
    1.19      exit(1);
    1.20    }

mercurial