< prev index next >

src/hotspot/share/runtime/os.cpp

Print this page

        

@@ -1347,11 +1347,11 @@
   // do the actual splitting
   p = inpath;
   for (int i = 0 ; i < count ; i++) {
     size_t len = strcspn(p, os::path_separator());
     if (len > JVM_MAXPATHLEN) {
-      return NULL;
+      //return NULL;
     }
     // allocate the string and add terminator storage
     char* s  = (char*)NEW_C_HEAP_ARRAY(char, len + 1, mtInternal);
     if (s == NULL) {
       return NULL;
< prev index next >