From a93de758f7a7edc0d05e04ea7d00ad8926ae58a8 Mon Sep 17 00:00:00 2001 From: Ryan Kurtz Date: Wed, 3 Dec 2025 05:33:51 -0500 Subject: [PATCH] GP-6165: Changed JPype dependency to be fixed at version 1.5.2 to avoid a possible Windows crash on 1.6.0 --- Ghidra/Features/PyGhidra/src/main/py/README.md | 2 ++ Ghidra/Features/PyGhidra/src/main/py/pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Ghidra/Features/PyGhidra/src/main/py/README.md b/Ghidra/Features/PyGhidra/src/main/py/README.md index 935025c279..b6700043a5 100644 --- a/Ghidra/Features/PyGhidra/src/main/py/README.md +++ b/Ghidra/Features/PyGhidra/src/main/py/README.md @@ -564,6 +564,8 @@ __3.0.0:__ via the `support/launch.properties` file), it will restore `sys.modules` to its prior state after a PyGhidra script is run so the next time the script is run, it freshly loads all of its imported modules again. This is experimental and should only be enabled if necessary. +* Changed JPype dependency to be fixed at version 1.5.2 to avoid + [a possible Windows crash on 1.6.0](https://github.com/jpype-project/jpype/issues/1316) __2.2.1:__ * PyGhidra now launches with the current working directory removed from `sys.path` to prevent diff --git a/Ghidra/Features/PyGhidra/src/main/py/pyproject.toml b/Ghidra/Features/PyGhidra/src/main/py/pyproject.toml index 034167774a..63fcb9c5a5 100644 --- a/Ghidra/Features/PyGhidra/src/main/py/pyproject.toml +++ b/Ghidra/Features/PyGhidra/src/main/py/pyproject.toml @@ -30,7 +30,7 @@ classifiers = [ "Programming Language :: Python :: 3.13", ] dependencies = [ - "Jpype1>=1.5.2", + "Jpype1==1.5.2", "packaging" ]