# HG changeset patch # User twisti # Date 1266943589 -3600 # Node ID 5a7f933d81c129dbc29c44fb4311386a1a59a70b # Parent 813528a66eedd8265dcd50817ae80eb581cf9a6c 6928839: JSR 292 typo in x86 _adapter_check_cast Summary: There is a small typo in methodHandles_x86.cpp. Reviewed-by: kvn diff -r 813528a66eed -r 5a7f933d81c1 hotspot/src/cpu/x86/vm/methodHandles_x86.cpp --- a/hotspot/src/cpu/x86/vm/methodHandles_x86.cpp Mon Feb 22 16:56:49 2010 -0800 +++ b/hotspot/src/cpu/x86/vm/methodHandles_x86.cpp Tue Feb 23 17:46:29 2010 +0100 @@ -584,7 +584,7 @@ Label done; __ movptr(rdx_temp, vmarg); - __ testl(rdx_temp, rdx_temp); + __ testptr(rdx_temp, rdx_temp); __ jccb(Assembler::zero, done); // no cast if null __ load_klass(rdx_temp, rdx_temp);