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

AWT Threads are created in wrong ThreadGroup

XMLWordPrintable

    • generic
    • generic

      Name: krT82822 Date: 06/21/99


      The following threads will be created in the current threadgroup:

      THREAD: AWT-EventQueue-0; Priority: 1 [Alive]
      THREAD: SunToolkit.PostEventQueue-0; Priority: 1 [Alive]
      THREAD: AWT-Windows; Priority: 1 [Alive]
      THREAD: TimerQueue; Priority: 1 [Daemon] [Alive]

      Imagine you have an application with console input/output.
      This application runs dynamic services which are held in
      different threadgroups. When one of the services pops up
      a dialog (just the first one) the above mentioned threads
      are created within the threadgroup of the service. The problem
      is that this threadgroup can never be removed due to this threads.
      It would be better to have within the awt-classes (i believe
      it's EventDispatcher (?)) a static initializer, which searches for
      the threadgroup main and uses this main threadgroup for creation
      of all awt/swing/corba related classes.

      This bug/feature relates to all known jdk versions.
      (Review ID: 84589)
      ======================================================================

            pchelko Petr Pchelko (Inactive)
            kryansunw Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: