< prev index next >

src/java.base/windows/native/libnio/ch/IOUtil.c

Print this page
@@ -1,7 +1,7 @@
  /*
-  * Copyright (c) 2000, 2023, Oracle and/or its affiliates. All rights reserved.
+  * Copyright (c) 2000, 2025, Oracle and/or its affiliates. All rights reserved.
   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   *
   * This code is free software; you can redistribute it and/or modify it
   * under the terms of the GNU General Public License version 2 only, as
   * published by the Free Software Foundation.  Oracle designates this

@@ -132,15 +132,14 @@
  #define SET_BLOCKING 0
  #define SET_NONBLOCKING 1
  
  JNIEXPORT void JNICALL
  Java_sun_nio_ch_IOUtil_configureBlocking(JNIEnv *env, jclass clazz,
-                                         jobject fdo, jboolean blocking)
+                                          jint fd, jboolean blocking)
  {
      u_long argp;
      int result = 0;
-     jint fd = fdval(env, fdo);
  
      if (blocking == JNI_FALSE) {
          argp = SET_NONBLOCKING;
      } else {
          argp = SET_BLOCKING;
< prev index next >