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

Custom XYChart Memory-Leak

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8u20
    • 8
    • javafx
    • 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().

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

              Created:
              Updated:
              Resolved:
              Imported: