如何使用 openjdk 中的 Robot.mouseMove() 修复?

How to use Robot.mouseMove() fix from openjdk?

根据 this thread the bug is "resolved" and the fix is available here 但我不知道如何使用它。我尝试将所有 .java 文件复制到我的本地项目,但我收到与丢失 类 相关的错误。还有一个涉及到的C++源文件,我不知道如何处理。

OpenJDK自身修复了该Bug。因此,您需要在 运行 您的应用程序机器上更新 OpenJDK,仅此而已。请务必安装包含此修复程序的版本。