jtreg should recognize standard javac exit codes

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • jtreg4.1
    • Affects Version/s: jtreg4.1
    • Component/s: tools
    • None
    • team
    • generic
    • generic

      Currently jtreg expects zero or non-zero from javac. Since JDK 6, javac has had better defined exit codes.

              EXIT_OK = 0, // Compilation completed with no errors.
              EXIT_ERROR = 1, // Completed but reported errors.
              EXIT_CMDERR = 2, // Bad command-line arguments
              EXIT_SYSERR = 3, // System error or resource exhaustion.
              EXIT_ABNORMAL = 4; // Compiler terminated abnormally

      jtreg should map
      0: pass, 1: fail, other:error

            Assignee:
            Jonathan Gibbons
            Reporter:
            Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: