Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8303495

Unused path parameter in ClassLoader::add_to_app_classpath_entries(JavaThread* current, char* path, ...)

XMLWordPrintable

    • 11
    • b14

      void ClassLoader::add_to_app_classpath_entries(JavaThread* current,
                                                     const char* path,
                                                     ClassPathEntry* entry,
                                                     bool check_for_duplicates) {

      The path parameter is unused since the check for its existence was removed by JDK-8193213:

      - } else {
      - if (!os::dir_is_empty(path)) {
      - tty->print_cr("Error: non-empty directory '%s'", path);
      - exit_with_path_failure("Cannot have non-empty directory in app classpaths", NULL);
      - }

            matsaave Matias Saavedra Silva
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: