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

Reversed arguments in call to strstr in freetype "debug" code.

    XMLWordPrintable

Details

    • 2d
    • b13

    Backports

      Description

        There is code in freetypeFontScaler.c that reads FREETYPE_PROPERTIES and parses it to see if the application is specifying the interpreter-version to use.
        If so, JDK won't enforce its default.

        The code that does this uses strstr, but unfortunately the arguments to strstr are reversed so you can't specify your preferred value.
        All you can do is disable JDK setting its preferred value.

        Attachments

          Issue Links

            Activity

              People

                prr Philip Race
                prr Philip Race
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: