The inner 'int max;' declaration hide previous max. -------------
Commit messages: - fixed typo - 8340213: jcmd VM.events ignores max argument Changes: https://git.openjdk.org/jdk/pull/21024/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21024&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8340213 Stats: 23 lines in 2 files changed: 21 ins; 1 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/21024.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/21024/head:pull/21024 PR: https://git.openjdk.org/jdk/pull/21024