Lines Matching refs:path

139  *  file is then added to the system class path, and if the Boot-Class-Path
141 * to create boot class path segments to append to the boot class path.
286 #define AGENT_ERROR_NOTONCP ((jint)101) /* Unable to add JAR file to system class path */
346 * Add the jarfile to the system class path
349 fprintf(stderr, "Unable to add %s to system class path "
513 * This function splits the attribute value into a list of path segments.
547 /* URI path decoding - ported from src/share/classes/java/net/URI.java */
568 * If the path does not require decoding the the original path is
569 * returned. Otherwise the decoded path (heap allocated) is returned,
570 * along with the length of the decoded path. Note that the return
618 * Append the given jar file to the system class path. This should succeed in the
620 * support appending to the class path.
645 "JAR file to system class path during the live phase!\n");
676 * splits it into the individual path segments, and then combines it
677 * with the path to the jar file to create the path to be added
680 * Each individual path segment starts out as a UTF8 string. Additionally
681 * as the path is specified to use URI path syntax all non US-ASCII
682 * characters are escaped. Once the URI path is decoded we get a UTF8
684 * will be combined with the platform path of the jar file). Once
686 * If the resulting path is an absolute path (starts with a slash for
687 * example) then the path will be added to the bootclasspath. Otherwise
688 * if it's not absolute then we get the canoncial path of the agent jar
689 * file and then resolve the path in the context of the base path of
706 * Split the attribute value into the individual path segments
713 char* path;
717 * The path segment at this point is a pointer into the attribute
719 * the previous results as we go along) it make it easier if the path
722 path = strdup(paths[i]);
723 jplis_assert(path != (char*)NULL);
729 pos = strchr(path, '?');
735 * Check for characters that are not allowed in the path component of
738 if (validatePathChars(path)) {
740 path);
741 free(path);
749 TRANSFORM(path, decodePath(path,&len));
756 int new_len = convertUft8ToPlatformString(path, len, platform, MAXPATHLEN);
757 free(path);
759 /* bogus value - exceeds maximum path size or unable to convert */
762 path = strdup(platform);
763 jplis_assert(path != (char*)NULL);
767 * Post-process the URI path - needed on Windows to transform
770 TRANSFORM(path, fromURIPath(path));
773 * Normalize the path - no duplicate slashes (except UNCs on Windows), trailing
776 TRANSFORM(path, normalize(path));
779 * If the path is an absolute path then add to the bootclassloader
780 * search path. Otherwise we get the canonical path of the agent jar
781 * and then use its base path (directory) to resolve the given path
788 if (isAbsolute(path)) {
789 jvmtierr = (*jvmtienv)->AddToBootstrapClassLoaderSearch(jvmtienv, path);
796 free(path);
804 resolved = resolve(parent, path);
808 /* print warning if boot class path not updated */
810 check_phase_blob_ret(jvmtierr, free(path));
812 fprintf(stderr, "WARNING: %s not added to bootstrap class loader search: ", path);
822 /* finished with the path */
823 free(path);