JavaFX - Leak in Logging, Logging remembers last exception

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • jfx21
    • Affects Version/s: jfx21
    • Component/s: javafx
    • None
    • b13

      When an exception is logged in JavaFX, then the exception is kept in a reference.
      This way, always the last logged exception is retained.

      This is a memory-leak.
      This was done to write unit-tests to ensure certain error-cases are logged.

      Simple fix is, to add a flag, to enable/disable retaining the exception.

            Assignee:
            Florian Kirmaier
            Reporter:
            Florian Kirmaier
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: