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

Remove temporary font file tracking code

XMLWordPrintable

    • master

      The JavaFX FontFileWriter.FontTracker class is used by FontFileWriter and PrismFontFile to optionally track and limit the amount of temporary font storage allowed when a security manager is present.

      After the removal of the security manager code and the fix for JDK-8344114 (to remove the FontFactory::hasPermission and FontFileWriter::hasTempPermission methods), this is dead code that cannot possibly be reached. All font methods are now called with "tracked" set to "false" meaning that we will never create an instance of a FontTracker.

      We should remove the FontTracker class and the "tracked" field and method arguments.

      See also JDK-8344146 for a similar bug in client-libs that was recently fixed.

            lkostyra Lukasz Kostyra
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: