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

Glass needs life cycle API

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • fx2.0
    • javafx
    • None
    • Product: javafx-2.0beta
      Platform: macosx-universal
      Build-Number: 161
      Build-ID: 2011-05-18_13-18-13

      This is a clone of the original issue which was caused by Glass trying to access main Java env after the main Java thread has been already detached.

      The original problem was fixed by explicitly checking for the main Java env at the specific code location that was causing the problem, however, the issue potentially exists for all Glass APIs. The way to address it is to assert that the main Java thread is still attached at the time we try to retrieve it, and if it is not available, then we can throw Java exception on the calling thread to notify that things are really really wrong.

            Unassigned Unassigned
            gziemski Gerard Ziemski
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Imported: