Changeset 203 for trunk/openjdk/jdk/src
- Timestamp:
- Dec 8, 2010, 10:53:37 PM (15 years ago)
- Location:
- trunk/openjdk/jdk/src
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/openjdk/jdk/src/share/classes/sun/awt/image/ImagingLib.java
r2 r203 97 97 if (arch == null || !arch.startsWith("sparc")) { 98 98 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 } 100 104 } catch (UnsatisfiedLinkError e) { 101 105 return Boolean.FALSE; -
trunk/openjdk/jdk/src/share/classes/sun/instrument/InstrumentationImpl.java
r2 r203 272 272 273 273 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 } 275 279 } 276 280 -
trunk/openjdk/jdk/src/share/classes/sun/management/ManagementFactory.java
r2 r203 483 483 484 484 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 } 486 490 jvm = new VMManagementImpl(); 487 491 } -
trunk/openjdk/jdk/src/share/classes/sun/tools/attach/HotSpotVirtualMachine.java
r2 r203 101 101 } 102 102 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 } 104 108 } catch (AgentLoadException x) { 105 109 throw new InternalError("instrument library is missing in target VM"); -
trunk/openjdk/jdk/src/share/demo/jvmti/hprof/hprof_init.c
r2 r203 2030 2030 2031 2031 /* Load the library or get the handle to it */ 2032 #ifdef OS2 2033 gdata->java_crw_demo_library = load_library("javacrwd"); 2034 #else 2032 2035 gdata->java_crw_demo_library = load_library("java_crw_demo"); 2033 2036 #endif 2034 2037 { /* "java_crw_demo" */ 2035 2038 static char *symbols[] = JAVA_CRW_DEMO_SYMBOLS; -
trunk/openjdk/jdk/src/windows/classes/sun/security/mscapi/SunMSCAPI.java
r2 r203 51 51 AccessController.doPrivileged(new PrivilegedAction() { 52 52 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 } 54 58 return null; 55 59 } -
trunk/openjdk/jdk/src/windows/native/sun/windows/awt_Mlib.cpp
r2 r203 49 49 * initialize the pointers to required mlib routines. 50 50 */ 51 #ifdef __WIN32OS2__ 52 hDLL = ::LoadLibrary(TEXT("mlibimg.dll")); 53 #else 51 54 hDLL = ::LoadLibrary(TEXT("mlib_image.dll")); 52 55 #endif 53 56 if (hDLL == NULL) { 54 57 return MLIB_FAILURE;
Note:
See TracChangeset
for help on using the changeset viewer.