Changeset 208 for trunk/openjdk/jdk/src/share
- Timestamp:
- Dec 10, 2010, 5:58:20 PM (15 years ago)
- Location:
- trunk/openjdk/jdk/src/share
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/openjdk/jdk/src/share/classes/java/awt/SplashScreen.java
r2 r208 109 109 // SplashScreen class is now a singleton 110 110 if (!wasClosed && theInstance == null) { 111 java.security.AccessController.doPrivileged( 111 if (System.getProperty("os.name").startsWith("OS/2")) { 112 java.security.AccessController.doPrivileged( 113 new sun.security.action.LoadLibraryAction("splshscr")); 114 } else { 115 java.security.AccessController.doPrivileged( 112 116 new sun.security.action.LoadLibraryAction("splashscreen")); 117 } 113 118 long ptr = _getInstance(); 114 119 if (ptr != 0 && _isVisible(ptr)) { -
trunk/openjdk/jdk/src/share/native/sun/awt/image/jpeg/jmorecfg.h
r2 r208 127 127 128 128 129 #if !defined(__WIN32OS2__) || !defined(__WINE_BASETSD_H) 130 129 131 /* These typedefs are used for various table entries and so forth. 130 132 * They must be at least as wide as specified; but making them too big … … 169 171 #endif 170 172 #endif 173 174 #endif /* !defined(__WIN32OS2__) || !defined(__WINE_BASETSD_H) */ 171 175 172 176 /* Datatype used for image dimensions. The JPEG standard only supports -
trunk/openjdk/jdk/src/share/native/sun/java2d/cmm/lcms/LCMS.c
r2 r208 120 120 } 121 121 122 JNIEXPORT int JNICALL JNI_OnLoad(JavaVM *jvm, void *reserved) {122 JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM *jvm, void *reserved) { 123 123 javaVM = jvm; 124 124 … … 457 457 { 458 458 storeID_t sTrans; 459 int size, inFmt, outFmt, srcDType, dstDType, outSize, renderType; 459 int size, inFmt, outFmt, outSize, renderType; 460 jint srcDType, dstDType; 460 461 int srcOffset, srcNextRowOffset, dstOffset, dstNextRowOffset; 461 462 int width, height, i; -
trunk/openjdk/jdk/src/share/native/sun/java2d/cmm/lcms/lcms.h
r2 r208 117 117 #endif 118 118 119 #ifdef __WIN32OS2__ 120 # undef NON_WINDOWS 121 #endif 122 119 123 // Borland C 120 124 … … 263 267 #include <windows.h> 264 268 265 #ifdef _WIN64 269 #if defined(__WIN32OS2__) 270 # include <string.h> 271 #endif 272 273 #if defined(_WIN64) || defined(__WIN32OS2__) 266 274 # ifdef USE_ASSEMBLER 267 275 # undef USE_ASSEMBLER … … 277 285 #endif 278 286 287 #ifndef __GNUC__ 279 288 // This works for both VC & BorlandC 280 289 #define LCMS_INLINE __inline 290 #else 291 #define LCMS_INLINE static inline 292 #endif 281 293 282 294 #ifdef USE_PTHREADS
Note:
See TracChangeset
for help on using the changeset viewer.