Changeset 202 for trunk


Ignore:
Timestamp:
Dec 8, 2010, 10:01:40 PM (15 years ago)
Author:
dmik
Message:

jdk: Use fontmgr.dll instead of fontmanager.dll on OS/2 (usual 8x3 limitation).

Location:
trunk/openjdk/jdk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/openjdk/jdk/make/sun/font/Makefile

    r200 r202  
    3232LIBRARY = fontmanager
    3333PRODUCT = sun
     34
     35LIBRARY_SHORT = fontmgr
    3436
    3537# Indicate we want the C++ compiler to do the linking.
  • trunk/openjdk/jdk/src/share/classes/sun/font/FontManagerNativeLibrary.java

    r2 r202  
    5959                   System.loadLibrary("freetype");
    6060               }
    61                System.loadLibrary("fontmanager");
     61               if (System.getProperty("os.name").startsWith("OS/2")) {
     62                   System.loadLibrary("fontmgr");
     63               } else {
     64                   System.loadLibrary("fontmanager");
     65               }
    6266
    6367               return null;
Note: See TracChangeset for help on using the changeset viewer.