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

Remove unnecessary Windows version check in FileFontStrike

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 25
    • 24
    • client-libs
    • None
    • Windows

    • 2d
    • master

      FileFontStrike contains a check as to whether the current Windows version is Windows XP or later. The current minimum supported version is Windows 10, so this is no longer needed.

      When the code in question was added 17 years ago, a test was included (test/jdk/java/awt/Graphics2D/DrawString/ScaledLCDTextMetrics.java), so this can be used to verify that there are no regressions.

            dgredler Daniel Gredler
            dgredler Daniel Gredler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: