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

Quantum toolkit doesn't become alive after shutdown

    Details

      Description

      Here's the scenario to reproduce the issue (Test.java attached):

      1. "Tool" frame is a Swing frame and there are two Swing buttons inside the frame: the "show" button (to show FX stage) and the "hide" button (to hide FX stage).

      2. Let's show and hide FX stage. First time it works fine (and the Quantum toolkit is terminated when "last" FX stage is hidden).

      3. Let's show and hide FX stage again. Nothing happens and it doesn't work expectedlty (the Quantim toolkit isn't restarted after shutdown).

      Attached runtime.patch include some preliminary changes (the diffs can be useful to resolve this issue). With the changes, the scenario starts working for me with default settings. Though I'm not sure that the changes are correct and complete.

      For convenience, webrev - http://spbweb.russia.sun.com/~dc158259/RT-12981/webrev-2/index.html

        Attachments

        1. runtime.patch
          3 kB
          Dmitry Cherepanov
        2. Test.java
          3 kB
          Dmitry Cherepanov

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                dcherepanov Dmitry Cherepanov
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Imported: