java launcher returns 0 exit code when Usage error detected

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P3
    • 7
    • Affects Version/s: 7
    • Component/s: tools
    • generic
    • generic

      Running something like 'java' or 'java -Xcomp' results in the java command usage message and a process exit code of 0.

      Using 'javac' or 'javac -J-Xcomp' does return a non-zero exit code. So the different launchers appear to behave differently.

      If a process doesn't return 0 on success, and only on success, the makefiles and ant builds will have problems.

            Assignee:
            Kumar Srinivasan
            Reporter:
            Kelly Ohair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: