hotspot/src/share/vm/classfile/sharedPathsMiscInfo.cpp
changeset 27562 47f369e3c69c
parent 26419 25abc4a3285c
child 34287 06ababebbd58
equal deleted inserted replaced
27561:7ead528de130 27562:47f369e3c69c
   108 }
   108 }
   109 
   109 
   110 bool SharedPathsMiscInfo::check(jint type, const char* path) {
   110 bool SharedPathsMiscInfo::check(jint type, const char* path) {
   111   switch (type) {
   111   switch (type) {
   112   case BOOT:
   112   case BOOT:
   113     if (strcmp(path, Arguments::get_sysclasspath()) != 0) {
   113     if (os::file_name_strcmp(path, Arguments::get_sysclasspath()) != 0) {
   114       return fail("[BOOT classpath mismatch, actual: -Dsun.boot.class.path=", Arguments::get_sysclasspath());
   114       return fail("[BOOT classpath mismatch, actual: -Dsun.boot.class.path=", Arguments::get_sysclasspath());
   115     }
   115     }
   116     break;
   116     break;
   117   case NON_EXIST: // fall-through
   117   case NON_EXIST: // fall-through
   118   case REQUIRED:
   118   case REQUIRED: