< prev index next >

src/jdk.jdwp.agent/share/native/libjdwp/inStream.c

Print this page

        

@@ -256,11 +256,11 @@
          * Could be error or just the null reference. In either case,
          * stop now.
          */
         return NULL;
     }
-    if (!isThread(object)) {
+    if (!isThread(object) && !isFiber(object)) {
         stream->error = JDWP_ERROR(INVALID_THREAD);
         return NULL;
     }
     return object;
 }
< prev index next >