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

JavaFX - Leak in Logging, Logging remembers last exception

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • jfx21
    • jfx21
    • javafx
    • None
    • b13

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: