Skip to content

Commit

Permalink
8336375: Crash on paste to JShell
Browse files Browse the repository at this point in the history
Reviewed-by: jvernee
  • Loading branch information
lahodaj committed Jul 17, 2024
1 parent 3babffd commit b9b0b85
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ public static int ScrollConsoleScreenBuffer(
MethodHandle mh$ = requireNonNull(ScrollConsoleScreenBufferW$MH, "ScrollConsoleScreenBuffer");
try {
return (int)
mh$.invokeExact(hConsoleOutput, lpScrollRectangle, lpClipRectangle, dwDestinationOrigin, lpFill);
mh$.invokeExact(hConsoleOutput, lpScrollRectangle.seg, lpClipRectangle.seg, dwDestinationOrigin.seg, lpFill.seg);
} catch (Throwable ex$) {
throw new AssertionError("should not reach here", ex$);
}
Expand Down

0 comments on commit b9b0b85

Please sign in to comment.