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

isAlive claims main thread is alive after main() returns

XMLWordPrintable

    • sparc
    • solaris_2.4

      It seems rather odd that isAlive returns true on the main thread even after main()
      returns. This especially seems odd since I can invoke stop on the main thread without
      obvious effect, except that isAlive now returns false. How special do we want to document
      the main thread to be?

            jjb Josh Bloch
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: