Changeset 406 for trunk/openjdk/jdk/src/windows/native
- Timestamp:
- Dec 21, 2012, 10:37:13 AM (13 years ago)
- Location:
- trunk/openjdk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/openjdk
- Property svn:mergeinfo changed
/branches/vendor/oracle/openjdk6/b27 (added) merged: 405 /branches/vendor/oracle/openjdk6/current merged: 404
- Property svn:mergeinfo changed
-
trunk/openjdk/jdk/src/windows/native/java/io/Win32FileSystem_md.c
r330 r406 1 1 /* 2 * Copyright (c) 1998, 20 06, Oracle and/or its affiliates. All rights reserved.2 * Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 274 274 JNIEXPORT jboolean JNICALL 275 275 Java_java_io_Win32FileSystem_createFileExclusively(JNIEnv *env, jclass cls, 276 jstring pathname) 276 jstring pathname, 277 jboolean restrictive) 277 278 { 278 279 jboolean rv = JNI_FALSE; -
trunk/openjdk/jdk/src/windows/native/java/io/WinNTFileSystem_md.c
r330 r406 1 1 /* 2 * Copyright (c) 2001, 20 06, Oracle and/or its affiliates. All rights reserved.2 * Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 366 366 JNIEXPORT jboolean JNICALL 367 367 Java_java_io_WinNTFileSystem_createFileExclusively(JNIEnv *env, jclass cls, 368 jstring path) 368 jstring path, 369 jboolean restrictive) 369 370 { 370 371 HANDLE h = NULL; -
trunk/openjdk/jdk/src/windows/native/java/net/net_util_md.c
r333 r406 1 1 /* 2 * Copyright (c) 1997, 20 07, Oracle and/or its affiliates. All rights reserved.2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 133 133 134 134 void initLocalAddrTable () {} 135 void parseExclusiveBindProperty (JNIEnv *env) {} 135 136 136 137 /* -
trunk/openjdk/jdk/src/windows/native/sun/windows/awt_Dialog.cpp
r309 r406 429 429 JNIEnv *env = (JNIEnv *)JNU_GetEnv(jvm, JNI_VERSION_1_2); 430 430 431 jlongArray windows = (jlongArray)(env->CallStaticObjectMethod(AwtWindow::wwindowPeerCls, 432 AwtWindow::getActiveWindowsMID)); 431 jclass wwindowPeerCls = env->FindClass("sun/awt/windows/WWindowPeer"); 432 jmethodID getActiveWindowsMID = env->GetStaticMethodID(wwindowPeerCls, 433 "getActiveWindowHandles", "()[J"); 434 DASSERT(getActiveWindowsMID != NULL); 435 jlongArray windows = (jlongArray)(env->CallStaticObjectMethod(wwindowPeerCls, 436 getActiveWindowsMID)); 433 437 if (windows == NULL) { 434 438 return; -
trunk/openjdk/jdk/src/windows/native/sun/windows/awt_Window.cpp
r309 r406 1 1 /* 2 * Copyright (c) 1996, 20 07, Oracle and/or its affiliates. All rights reserved.2 * Copyright (c) 1996, 2012, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 125 125 jfieldID AwtWindow::locationByPlatformID; 126 126 jfieldID AwtWindow::autoRequestFocusID; 127 128 jclass AwtWindow::wwindowPeerCls;129 jmethodID AwtWindow::getActiveWindowsMID;130 127 131 128 jfieldID AwtWindow::sysXID; … … 2169 2166 AwtWindow::sysHID = env->GetFieldID(cls, "sysH", "I"); 2170 2167 2171 AwtWindow::wwindowPeerCls = cls;2172 AwtWindow::getActiveWindowsMID =2173 env->GetStaticMethodID(cls, "getActiveWindowHandles", "()[J");2174 DASSERT(AwtWindow::getActiveWindowsMID != NULL);2175 2176 2168 CATCH_BAD_ALLOC; 2177 2169 } -
trunk/openjdk/jdk/src/windows/native/sun/windows/awt_Window.h
r309 r406 57 57 static jfieldID screenID; /* screen number passed over from WindowPeer */ 58 58 static jfieldID autoRequestFocusID; 59 60 /* WWindowPeer class */61 static jclass wwindowPeerCls;62 /* long[] getActiveWindowHandles() method in WWindowPeer */63 static jmethodID getActiveWindowsMID;64 59 65 60 // The coordinates at the peer.
Note:
See TracChangeset
for help on using the changeset viewer.