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

Runtime.exit incorrectly says it never throws an exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 21
    • 20
    • core-libs
    • None
    • b21

      Runtime.exit(status) says it "it never returns or throws an exception".
      However, this contradicts the throws clause that allows the security manager to throw a SecurityException.

            smarks Stuart Marks
            rriggs Roger Riggs
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: