Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7016451

jtreg should recognize standard javac exit codes

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • jtreg4.1
    • jtreg4.1
    • 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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: