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

Java does not exit properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 1.4.0
    • hotspot
    • x86
    • windows_98

      Repeated invocation of java on a particular class stalls Windows
      This problem has been seen on NT, but most frequently appears in
      Win98

      Please untar attached runJCE.tar.z file. You must use jdk1.4
      since it uses java.security packages. If you want to use jdk1.3
      install java.security extensions first.

      Run the following simple batch file:

      MYLABEL:
      java Write3Tests
      GOTO MYLABEL:

      After 5-10 runs it hangs the terminal.

      If you run it as a java process, getExitCode()
      always returns the right exit code showing that
      the process has exited. But the process never
      gets flagged as exited, so WaitForMultipleObjects
      would never return on it. It seems that there is
      a memory leak, unclosed handles etc. which accumulate
      on consequtive runs and hang java at some point.

      konstantin.kladko@Eng 2001-01-30

            kbr Kenneth Russell (Inactive)
            rphamsunw Roger Pham (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: