Changeset 203


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

jdk: Shortened 5 other DLL names.

Location:
trunk/openjdk/jdk
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • trunk/openjdk/jdk/make/java/instrument/Makefile

    r107 r203  
    3131LIBRARY = instrument
    3232PRODUCT = sun
     33
     34LIBRARY_SHORT = instrmnt
    3335
    3436# Configure the CFLAGS for this library.  Use static binding so that there
  • trunk/openjdk/jdk/make/java/java_crw_demo/Makefile

    r2 r203  
    2828PRODUCT = sun
    2929LIBRARY_OUTPUT = java_crw_demo
     30
     31LIBRARY_SHORT = javacrwd
    3032
    3133# Configure the CFLAGS for this library.
  • trunk/openjdk/jdk/make/java/management/Makefile

    r74 r203  
    2828LIBRARY = management
    2929PRODUCT = java
     30
     31LIBRARY_SHORT = mngemnt
     32
    3033include $(BUILDDIR)/common/Defs.gmk
    3134
  • trunk/openjdk/jdk/make/sun/image/generic/Makefile

    r2 r203  
    3232LIBRARY = mlib_image
    3333PRODUCT = sun
     34
     35LIBRARY_SHORT = mlibimg
     36
    3437include $(BUILDDIR)/common/Defs.gmk
    3538
  • trunk/openjdk/jdk/make/sun/security/mscapi/Makefile

    r153 r203  
    9393LIBRARY = sunmscapi
    9494PRODUCT = sun
     95
     96LIBRARY_SHORT = smscapi
    9597
    9698#
  • trunk/openjdk/jdk/src/share/classes/sun/awt/image/ImagingLib.java

    r2 r203  
    9797                    if (arch == null || !arch.startsWith("sparc")) {
    9898                        try {
    99                             System.loadLibrary("mlib_image");
     99                            if (System.getProperty("os.name").startsWith("OS/2")) {
     100                                System.loadLibrary("mlibimg");
     101                            } else {
     102                                System.loadLibrary("mlib_image");
     103                            }
    100104                        } catch (UnsatisfiedLinkError e) {
    101105                            return Boolean.FALSE;
  • trunk/openjdk/jdk/src/share/classes/sun/instrument/InstrumentationImpl.java

    r2 r203  
    272272
    273273    static {
    274         System.loadLibrary("instrument");
     274        if (System.getProperty("os.name").startsWith("OS/2")) {
     275            System.loadLibrary("instrmnt");
     276        } else {
     277            System.loadLibrary("instrument");
     278        }
    275279    }
    276280
  • trunk/openjdk/jdk/src/share/classes/sun/management/ManagementFactory.java

    r2 r203  
    483483
    484484    static {
    485         AccessController.doPrivileged(new LoadLibraryAction("management"));
     485        if (System.getProperty("os.name").startsWith("OS/2")) {
     486            AccessController.doPrivileged(new LoadLibraryAction("mngemnt"));
     487        } else {
     488            AccessController.doPrivileged(new LoadLibraryAction("management"));
     489        }
    486490        jvm = new VMManagementImpl();
    487491    }
  • trunk/openjdk/jdk/src/share/classes/sun/tools/attach/HotSpotVirtualMachine.java

    r2 r203  
    101101        }
    102102        try {
    103             loadAgentLibrary("instrument", args);
     103            if (System.getProperty("os.name").startsWith("OS/2")) {
     104                loadAgentLibrary("instrmnt", args);
     105            } else {
     106                loadAgentLibrary("instrument", args);
     107            }
    104108        } catch (AgentLoadException x) {
    105109            throw new InternalError("instrument library is missing in target VM");
  • trunk/openjdk/jdk/src/share/demo/jvmti/hprof/hprof_init.c

    r2 r203  
    20302030
    20312031        /* Load the library or get the handle to it */
     2032#ifdef OS2       
     2033        gdata->java_crw_demo_library = load_library("javacrwd");
     2034#else
    20322035        gdata->java_crw_demo_library = load_library("java_crw_demo");
    2033 
     2036#endif
    20342037        { /* "java_crw_demo" */
    20352038            static char *symbols[]  = JAVA_CRW_DEMO_SYMBOLS;
  • trunk/openjdk/jdk/src/windows/classes/sun/security/mscapi/SunMSCAPI.java

    r2 r203  
    5151        AccessController.doPrivileged(new PrivilegedAction() {
    5252            public Object run() {
    53                 System.loadLibrary("sunmscapi");
     53                if (System.getProperty("os.name").startsWith("OS/2")) {
     54                    System.loadLibrary("smscapi");
     55                } else {
     56                    System.loadLibrary("sunmscapi");
     57                }
    5458                return null;
    5559            }
  • trunk/openjdk/jdk/src/windows/native/sun/windows/awt_Mlib.cpp

    r2 r203  
    4949         * initialize the pointers to required mlib routines.
    5050         */
     51#ifdef __WIN32OS2__         
     52        hDLL = ::LoadLibrary(TEXT("mlibimg.dll"));
     53#else
    5154        hDLL = ::LoadLibrary(TEXT("mlib_image.dll"));
    52 
     55#endif
    5356        if (hDLL == NULL) {
    5457            return MLIB_FAILURE;
Note: See TracChangeset for help on using the changeset viewer.