diff -r 305544d6fa75 -r ce6a6d533139 jdk/src/solaris/native/com/sun/management/UnixOperatingSystem_md.c --- a/jdk/src/solaris/native/com/sun/management/UnixOperatingSystem_md.c Tue Apr 23 15:07:48 2013 -0700 +++ b/jdk/src/solaris/native/com/sun/management/UnixOperatingSystem_md.c Wed Apr 24 14:49:49 2013 +0200 @@ -372,7 +372,7 @@ size_t fds_size; kres = pid_for_task(mach_task_self(), &my_pid); - if (res != KERN_SUCCESS) { + if (kres != KERN_SUCCESS) { throw_internal_error(env, "pid_for_task failed"); return -1; }