jdk/src/jdk.attach/solaris/native/libattach/VirtualMachineImpl.c
changeset 28059 e576535359cc
parent 26216 5e46c782b43c
child 29607 659cd463df20
equal deleted inserted replaced
28058:87940c838900 28059:e576535359cc
   318      */
   318      */
   319     if (rc == -1) {
   319     if (rc == -1) {
   320         JNU_ThrowIOExceptionWithLastError(env, "door_call");
   320         JNU_ThrowIOExceptionWithLastError(env, "door_call");
   321     } else {
   321     } else {
   322         /*
   322         /*
   323          * door_call succeeded but the call didn't return the the expected jint.
   323          * door_call succeeded but the call didn't return the expected jint.
   324          */
   324          */
   325         if (door_args.data_size < sizeof(jint)) {
   325         if (door_args.data_size < sizeof(jint)) {
   326             JNU_ThrowIOException(env, "Enqueue error - reason unknown as result is truncated!");
   326             JNU_ThrowIOException(env, "Enqueue error - reason unknown as result is truncated!");
   327         } else {
   327         } else {
   328             jint* res = (jint*)(door_args.data_ptr);
   328             jint* res = (jint*)(door_args.data_ptr);