equal
deleted
inserted
replaced
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: |