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

Clean up exit codes in tests

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: