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/src/share
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • 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;
Note: See TracChangeset for help on using the changeset viewer.