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

Java doesn't pick up the correct fontconfig files in latest Solaris Next builds.

    Details

    • Subcomponent:
      2d
    • Resolved In Build:
      b04
    • CPU:
      generic
    • OS:
      open_solaris

      Backports

        Description

        I trying dbxtool on build #136 of Solaris Next (was OpenSolaris), it was
        discovered that the "monospaced" font in the window in the bottom left of
        the tool, was displaying ugly text (poor spacing).

        This was discussed on the dbx-interest list, and it was found that instead
        of using /usr/jdk/instances/jdk1.6.0/jre/lib/fontconfig.OpenSolaris.bfc
        Java was now just using /usr/jdk/instances/jdk1.6.0/jre/lib/fontconfig.bfc.

        Specifically, (by running truss), it was found to be tring the following:

        7877/14: access("/usr/jdk/instances/jdk1.6.0/jre/lib/fontconfig.5.11.properties", R_OK) Err#2 ENOENT
        7877/14: access("/usr/jdk/instances/jdk1.6.0/jre/lib/fontconfig.5.11.bfc", R_OK) Err#2 ENOENT
        7877/14: access("/usr/jdk/instances/jdk1.6.0/jre/lib/fontconfig.properties", R_OK) Err#2 ENOENT
        7877/14: access("/usr/jdk/instances/jdk1.6.0/jre/lib/fontconfig.bfc", R_OK) = 0
        7877/14: stat64("/usr/jdk/instances/jdk1.6.0/jre/lib/fonts/fallback", 0xCD3FE980) Err#2 ENOENT
        7877/14: open64("/usr/jdk/instances/jdk1.6.0/jre/lib/fontconfig.bfc", O_RDONLY) = 50

        Java is looking for "OpenSolaris" in the /etc/release file, to determine
        whether it should be using .../fontconfig.OpenSolaris.bfc The /etc/release
        file for build #136 now contains:

        $ cat /etc/release
                               Solaris Next Development snv_136 X86
               Copyright 2010, Oracle and/or its affiliates. All rights reserved.
                                     Assembled 26 March 2010

        There has been more discussion on the dbx-interest list, and I'll leave it
        to Phil and David to determine the best solution going forward.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  prr Philip Race
                  Reporter:
                  richb Richard Burridge (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: