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

Clean up exit codes in tests

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 13
    • core-libs
    • None

      After JDK-8222111 is fixed, there are two follow-ups:
       
      First, the exit code should be communicated with "return $code;" rather than "exit($code)" in some tests. For example:
       test/jdk/java/lang/reflect/exeCallerAccessTest/exeCallerAccessTest.c
       test/jdk/tools/launcher/exeJniInvocationTest.c

      Second, the returns from "int main(...)" should always be present, for example in:
        test/jdk/tools/launcher/exeJniInvocationTest.c

            shurailine Aleksandre Iline
            shade Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: