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

(launcher)The option -no-jre-restrict-search is expected when -jre-no-restrict-search is documented.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 7
    • 7
    • tools
    • b116
    • x86
    • generic
    • Verified

      The option is documented as -jre-no-restrict-search however parser expects -no-jre-restrict-search.

      It looks like no one is used this option really. Does it really needed?

      ================== java output ======================
      " -jre-restrict-search | -jre-no-restrict-search\n"
      " include/exclude user private JREs in the version search\n"
      =========== java.c ================
         while ((arg = *argv) != 0 && *arg == '-') {
              if (strncmp(arg, "-version:", 9) == 0) {
                  version = arg + 9;
              } else if (strcmp(arg, "-jre-restrict-search") == 0) {
                  restrict_search = 1;
              } else if (strcmp(arg, "-no-jre-restrict-search") == 0) {
                  restrict_search = 0;
              } else {

            ksrini Kumar Srinivasan
            lmesnik Leonid Mesnik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: