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

JavaFX - Leak in Logging, Logging remembers last exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • jfx21
    • jfx21
    • 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.

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

              Created:
              Updated:
              Resolved: