Custom XYChart Memory-Leak

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 8u20
    • Affects Version/s: 8
    • Component/s: javafx
    • Environment:

      MacOS X 10.9, Java 8 b129

      If you create a custom chart by inheriting from class XYChart you will always get memory leaks if series will be added because XYChart fills the package-visible member seriesColorMap in method seriesAdded() with an instance of Class Series but only BarChart will remove this instance from the map in method seriesRemoved() using private method updateDefaultColorIndex().

            Assignee:
            Martin Sládeček
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: