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

(process) Runtime.exec(String) should throw IllegalArgumentException

    Details

    • Subcomponent:
    • Resolved In Build:
      hopper
    • CPU:
      sparc
    • OS:
      solaris_2.5
    • Verification:
      Verified

      Description



      Name: mgC56079 Date: 06/22/99



      Runtime.exec("") throws NullPointerException while
      IllegalArgumentException is expected

      On winNt it throws IllegalArgumentException

      ------------------------------------- file test.java
      import java.io.IOException
      class test {

          public static void main(String[] args) throws IOException {
              Runtime.getRuntime().exec("");
          }
      }

      ------------------------------------- end of file test.java


      ======================================================================

        Attachments

          Activity

            People

            • Assignee:
              kkladkosunw Konstantin Kladko (Inactive)
              Reporter:
              gorsunw Gor Gor (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: