Ghidra is a software reverse engineering (SRE) framework
GP-6754: Jython is now an extension
Ryan Kurtzf14617d2ebe0
diff --git a/Ghidra/Configurations/Public_Release/src/global/docs/WhatsNew.md b/Ghidra/Configurations/Public_Release/src/global/docs/WhatsNew.mdindex 8323d74565..675401a442 100644--- a/Ghidra/Configurations/Public_Release/src/global/docs/WhatsNew.md+++ b/Ghidra/Configurations/Public_Release/src/global/docs/WhatsNew.md@@ -118,6 +118,11 @@ encoded form; thus, using the encoded form can also create bifurcation in the na## Processors+## Jython Extension+Jython support is now delivered as a Ghidra Extension, which means an extra step is required to+install it. If you require Jython, simply go to `File -> Install Extensions` in the Ghidra+Front End GUI and check "Jython". Restart Ghidra and Jython support will be enabled.+## Additional Bug Fixes and EnhancementsNumerous other new features, improvements, and bug fixes are fully listed in the[Change History](ChangeHistory.md) file.diff --git a/Ghidra/Features/Jython/Module.manifest b/Ghidra/Extensions/Jython/Module.manifestsimilarity index 100%rename from Ghidra/Features/Jython/Module.manifestrename to Ghidra/Extensions/Jython/Module.manifestdiff --git a/Ghidra/Features/Jython/README.md b/Ghidra/Extensions/Jython/README.mdsimilarity index 100%rename from Ghidra/Features/Jython/README.mdrename to Ghidra/Extensions/Jython/README.mddiff --git a/Ghidra/Features/Jython/build.gradle b/Ghidra/Extensions/Jython/build.gradlesimilarity index 93%rename from Ghidra/Features/Jython/build.gradlerename to Ghidra/Extensions/Jython/build.gradleindex 9056a8023c..a713d0be7f 100644--- a/Ghidra/Features/Jython/build.gradle+++ b/Ghidra/Extensions/Jython/build.gradle@@ -13,7 +13,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-apply from: "$rootProject.projectDir/gradle/distributableGhidraModule.gradle"+apply from: "$rootProject.projectDir/gradle/distributableGhidraExtension.gradle"apply from: "$rootProject.projectDir/gradle/javaProject.gradle"apply from: "$rootProject.projectDir/gradle/helpProject.gradle"apply from: "$rootProject.projectDir/gradle/jacocoProject.gradle"@@ -21,7 +21,7 @@ apply from: "$rootProject.projectDir/gradle/javaTestProject.gradle"apply from: "$rootProject.projectDir/gradle/javadoc.gradle"apply plugin: 'eclipse'-eclipse.project.name = 'Features Jython'+eclipse.project.name = 'Xtra Jython'def JYTHON = "org.python:jython-standalone:2.7.4"diff --git a/Ghidra/Features/Jython/certification.manifest b/Ghidra/Extensions/Jython/certification.manifestsimilarity index 88%rename from Ghidra/Features/Jython/certification.manifestrename to Ghidra/Extensions/Jython/certification.manifestindex de2c3849f3..501ed00d99 100644--- a/Ghidra/Features/Jython/certification.manifest+++ b/Ghidra/Extensions/Jython/certification.manifest@@ -4,5 +4,6 @@Module.manifest||GHIDRA||||END|README.md||GHIDRA||||END|data/jython.theme.properties||GHIDRA||||END|+extension.properties||GHIDRA||||END|src/main/help/help/TOC_Source.xml||GHIDRA||||END|src/main/help/help/topics/Jython/interpreter.html||GHIDRA||||END|diff --git a/Ghidra/Features/Jython/data/jython.theme.properties b/Ghidra/Extensions/Jython/data/jython.theme.propertiessimilarity index 100%rename from Ghidra/Features/Jython/data/jython.theme.propertiesrename to Ghidra/Extensions/Jython/data/jython.theme.propertiesdiff --git a/Ghidra/Extensions/Jython/extension.properties b/Ghidra/Extensions/Jython/extension.propertiesnew file mode 100644index 0000000000..df8c40bb85--- /dev/null+++ b/Ghidra/Extensions/Jython/extension.properties@@ -0,0 +1,5 @@+name=Jython+description=The Jython 2.x GhidraScript engine and interpreter plugin+author=Ghidra Team+createdOn=pre-4/23/2026+version=@extversion@diff --git a/Ghidra/Features/Jython/ghidra_scripts/AddCommentToProgramScriptPy.py b/Ghidra/Extensions/Jython/ghidra_scripts/AddCommentToProgramScriptPy.pysimilarity index 100%rename from Ghidra/Features/Jython/ghidra_scripts/AddCommentToProgramScriptPy.pyrename to Ghidra/Extensions/Jython/ghidra_scripts/AddCommentToProgramScriptPy.pydiff --git a/Ghidra/Features/Jython/ghidra_scripts/AskScriptPy.py b/Ghidra/Extensions/Jython/ghidra_scripts/AskScriptPy.pysimilarity index 100%rename from Ghidra/Features/Jython/ghidra_scripts/AskScriptPy.pyrename to Ghidra/Extensions/Jython/ghidra_scripts/AskScriptPy.pydiff --git a/Ghidra/Features/Jython/ghidra_scripts/CallAnotherScriptForAllProgramsPy.py b/Ghidra/Extensions/Jython/ghidra_scripts/CallAnotherScriptForAllProgramsPy.pysimilarity index 100%rename from Ghidra/Features/Jython/ghidra_scripts/CallAnotherScriptForAllProgramsPy.pyrename to Ghidra/Extensions/Jython/ghidra_scripts/CallAnotherScriptForAllProgramsPy.pydiff --git a/Ghidra/Features/Jython/ghidra_scripts/CallAnotherScriptPy.py b/Ghidra/Extensions/Jython/ghidra_scripts/CallAnotherScriptPy.pysimilarity index 100%rename from Ghidra/Features/Jython/ghidra_scripts/CallAnotherScriptPy.pyrename to Ghidra/Extensions/Jython/ghidra_scripts/CallAnotherScriptPy.pydiff --git a/Ghidra/Features/Jython/ghidra_scripts/ChooseDataTypeScriptPy.py b/Ghidra/Extensions/Jython/ghidra_scripts/ChooseDataTypeScriptPy.pysimilarity index 100%rename from Ghidra/Features/Jython/ghidra_scripts/ChooseDataTypeScriptPy.pyrename to Ghidra/Extensions/Jython/ghidra_scripts/ChooseDataTypeScriptPy.pydiff --git a/Ghidra/Features/Jython/ghidra_scripts/ExampleColorScriptPy.py b/Ghidra/Extensions/Jython/ghidra_scripts/ExampleColorScriptPy.pysimilarity index 100%rename from Ghidra/Features/Jython/ghidra_scripts/ExampleColorScriptPy.pyrename to Ghidra/Extensions/Jython/ghidra_scripts/ExampleColorScriptPy.pydiff --git a/Ghidra/Features/Jython/ghidra_scripts/FormatExampleScriptPy.py b/Ghidra/Extensions/Jython/ghidra_scripts/FormatExampleScriptPy.pysimilarity index 100%rename from Ghidra/Features/Jython/ghidra_scripts/FormatExampleScriptPy.pyrename to Ghidra/Extensions/Jython/ghidra_scripts/FormatExampleScriptPy.pydiff --git a/Ghidra/Features/Jython/ghidra_scripts/ImportSymbolsScript.py b/Ghidra/Extensions/Jython/ghidra_scripts/ImportSymbolsScript.pysimilarity index 100%rename from Ghidra/Features/Jython/ghidra_scripts/ImportSymbolsScript.pyrename to Ghidra/Extensions/Jython/ghidra_scripts/ImportSymbolsScript.pydiff --git a/Ghidra/Features/Jython/ghidra_scripts/PrintNonZeroPurge.py b/Ghidra/Extensions/Jython/ghidra_scripts/PrintNonZeroPurge.pysimilarity index 100%rename from Ghidra/Features/Jython/ghidra_scripts/PrintNonZeroPurge.pyrename to Ghidra/Extensions/Jython/ghidra_scripts/PrintNonZeroPurge.pydiff --git a/Ghidra/Features/Jython/ghidra_scripts/ToolPropertiesExampleScriptPy.py b/Ghidra/Extensions/Jython/ghidra_scripts/ToolPropertiesExampleScriptPy.pysimilarity index 100%rename from Ghidra/Features/Jython/ghidra_scripts/ToolPropertiesExampleScriptPy.pyrename to Ghidra/Extensions/Jython/ghidra_scripts/ToolPropertiesExampleScriptPy.pydiff --git a/Ghidra/Features/Jython/ghidra_scripts/external_module_callee.py b/Ghidra/Extensions/Jython/ghidra_scripts/external_module_callee.pysimilarity index 100%rename from Ghidra/Features/Jython/ghidra_scripts/external_module_callee.pyrename to Ghidra/Extensions/Jython/ghidra_scripts/external_module_callee.pydiff --git a/Ghidra/Features/Jython/ghidra_scripts/external_module_caller.py b/Ghidra/Extensions/Jython/ghidra_scripts/external_module_caller.pysimilarity index 100%rename from Ghidra/Features/Jython/ghidra_scripts/external_module_caller.pyrename to Ghidra/Extensions/Jython/ghidra_scripts/external_module_caller.pydiff --git a/Ghidra/Features/Jython/ghidra_scripts/ghidra_basics.py b/Ghidra/Extensions/Jython/ghidra_scripts/ghidra_basics.pysimilarity index 100%rename from Ghidra/Features/Jython/ghidra_scripts/ghidra_basics.pyrename to Ghidra/Extensions/Jython/ghidra_scripts/ghidra_basics.pydiff --git a/Ghidra/Features/Jython/ghidra_scripts/jython_basics.py b/Ghidra/Extensions/Jython/ghidra_scripts/jython_basics.pysimilarity index 100%rename from Ghidra/Features/Jython/ghidra_scripts/jython_basics.pyrename to Ghidra/Extensions/Jython/ghidra_scripts/jython_basics.pydiff --git a/Ghidra/Features/Jython/ghidra_scripts/python_basics.py b/Ghidra/Extensions/Jython/ghidra_scripts/python_basics.pysimilarity index 100%rename from Ghidra/Features/Jython/ghidra_scripts/python_basics.pyrename to Ghidra/Extensions/Jython/ghidra_scripts/python_basics.pydiff --git a/Ghidra/Features/Jython/jython-src/ghidradoc.py b/Ghidra/Extensions/Jython/jython-src/ghidradoc.pysimilarity index 100%rename from Ghidra/Features/Jython/jython-src/ghidradoc.pyrename to Ghidra/Extensions/Jython/jython-src/ghidradoc.pydiff --git a/Ghidra/Features/Jython/jython-src/introspect.py b/Ghidra/Extensions/Jython/jython-src/introspect.pysimilarity index 100%rename from Ghidra/Features/Jython/jython-src/introspect.pyrename to Ghidra/Extensions/Jython/jython-src/introspect.pydiff --git a/Ghidra/Features/Jython/jython-src/jintrospect.py b/Ghidra/Extensions/Jython/jython-src/jintrospect.pysimilarity index 100%rename from Ghidra/Features/Jython/jython-src/jintrospect.pyrename to Ghidra/Extensions/Jython/jython-src/jintrospect.pydiff --git a/Ghidra/Features/Jython/jython-src/sitecustomize.py b/Ghidra/Extensions/Jython/jython-src/sitecustomize.pysimilarity index 100%rename from Ghidra/Features/Jython/jython-src/sitecustomize.pyrename to Ghidra/Extensions/Jython/jython-src/sitecustomize.pydiff --git a/Ghidra/Features/Jython/src/main/help/help/TOC_Source.xml b/Ghidra/Extensions/Jython/src/main/help/help/TOC_Source.xmlsimilarity index 100%rename from Ghidra/Features/Jython/src/main/help/help/TOC_Source.xmlrename to Ghidra/Extensions/Jython/src/main/help/help/TOC_Source.xmldiff --git a/Ghidra/Features/Jython/src/main/help/help/topics/Jython/interpreter.html b/Ghidra/Extensions/Jython/src/main/help/help/topics/Jython/interpreter.htmlsimilarity index 100%rename from Ghidra/Features/Jython/src/main/help/help/topics/Jython/interpreter.htmlrename to Ghidra/Extensions/Jython/src/main/help/help/topics/Jython/interpreter.htmldiff --git a/Ghidra/Features/Jython/src/main/java/ghidra/jython/GhidraJythonInterpreter.java b/Ghidra/Extensions/Jython/src/main/java/ghidra/jython/GhidraJythonInterpreter.javasimilarity index 100%rename from Ghidra/Features/Jython/src/main/java/ghidra/jython/GhidraJythonInterpreter.javarename to Ghidra/Extensions/Jython/src/main/java/ghidra/jython/GhidraJythonInterpreter.javadiff --git a/Ghidra/Features/Jython/src/main/java/ghidra/jython/JythonCodeCompletionFactory.java b/Ghidra/Extensions/Jython/src/main/java/ghidra/jython/JythonCodeCompletionFactory.javasimilarity index 100%rename from Ghidra/Features/Jython/src/main/java/ghidra/jython/JythonCodeCompletionFactory.javarename to Ghidra/Extensions/Jython/src/main/java/ghidra/jython/JythonCodeCompletionFactory.javadiff --git a/Ghidra/Features/Jython/src/main/java/ghidra/jython/JythonPlugin.java b/Ghidra/Extensions/Jython/src/main/java/ghidra/jython/JythonPlugin.javasimilarity index 100%rename from Ghidra/Features/Jython/src/main/java/ghidra/jython/JythonPlugin.javarename to Ghidra/Extensions/Jython/src/main/java/ghidra/jython/JythonPlugin.javadiff --git a/Ghidra/Features/Jython/src/main/java/ghidra/jython/JythonPluginExecutionThread.java b/Ghidra/Extensions/Jython/src/main/java/ghidra/jython/JythonPluginExecutionThread.javasimilarity index 100%rename from Ghidra/Features/Jython/src/main/java/ghidra/jython/JythonPluginExecutionThread.javarename to Ghidra/Extensions/Jython/src/main/java/ghidra/jython/JythonPluginExecutionThread.javadiff --git a/Ghidra/Features/Jython/src/main/java/ghidra/jython/JythonPluginInputThread.java b/Ghidra/Extensions/Jython/src/main/java/ghidra/jython/JythonPluginInputThread.javasimilarity index 100%rename from Ghidra/Features/Jython/src/main/java/ghidra/jython/JythonPluginInputThread.javarename to Ghidra/Extensions/Jython/src/main/java/ghidra/jython/JythonPluginInputThread.javadiff --git a/Ghidra/Features/Jython/src/main/java/ghidra/jython/JythonRun.java b/Ghidra/Extensions/Jython/src/main/java/ghidra/jython/JythonRun.javasimilarity index 100%rename from Ghidra/Features/Jython/src/main/java/ghidra/jython/JythonRun.javarename to Ghidra/Extensions/Jython/src/main/java/ghidra/jython/JythonRun.javadiff --git a/Ghidra/Features/Jython/src/main/java/ghidra/jython/JythonScript.java b/Ghidra/Extensions/Jython/src/main/java/ghidra/jython/JythonScript.javasimilarity index 100%rename from Ghidra/Features/Jython/src/main/java/ghidra/jython/JythonScript.javarename to Ghidra/Extensions/Jython/src/main/java/ghidra/jython/JythonScript.javadiff --git a/Ghidra/Features/Jython/src/main/java/ghidra/jython/JythonScriptExecutionThread.java b/Ghidra/Extensions/Jython/src/main/java/ghidra/jython/JythonScriptExecutionThread.javasimilarity index 100%rename from Ghidra/Features/Jython/src/main/java/ghidra/jython/JythonScriptExecutionThread.javarename to Ghidra/Extensions/Jython/src/main/java/ghidra/jython/JythonScriptExecutionThread.javadiff --git a/Ghidra/Features/Jython/src/main/java/ghidra/jython/JythonScriptProvider.java b/Ghidra/Extensions/Jython/src/main/java/ghidra/jython/JythonScriptProvider.javasimilarity index 100%rename from Ghidra/Features/Jython/src/main/java/ghidra/jython/JythonScriptProvider.javarename to Ghidra/Extensions/Jython/src/main/java/ghidra/jython/JythonScriptProvider.javadiff --git a/Ghidra/Features/Jython/src/main/java/ghidra/jython/JythonUtils.java b/Ghidra/Extensions/Jython/src/main/java/ghidra/jython/JythonUtils.javasimilarity index 100%rename from Ghidra/Features/Jython/src/main/java/ghidra/jython/JythonUtils.javarename to Ghidra/Extensions/Jython/src/main/java/ghidra/jython/JythonUtils.javadiff --git a/Ghidra/Features/Jython/src/main/java/ghidra/jython/PyDevUtils.java b/Ghidra/Extensions/Jython/src/main/java/ghidra/jython/PyDevUtils.javasimilarity index 100%rename from Ghidra/Features/Jython/src/main/java/ghidra/jython/PyDevUtils.javarename to Ghidra/Extensions/Jython/src/main/java/ghidra/jython/PyDevUtils.javadiff --git a/Ghidra/Features/Jython/src/test.slow/java/ghidra/jython/JythonCodeCompletionTest.java b/Ghidra/Extensions/Jython/src/test.slow/java/ghidra/jython/JythonCodeCompletionTest.javasimilarity index 100%rename from Ghidra/Features/Jython/src/test.slow/java/ghidra/jython/JythonCodeCompletionTest.javarename to Ghidra/Extensions/Jython/src/test.slow/java/ghidra/jython/JythonCodeCompletionTest.javadiff --git a/Ghidra/Features/Jython/src/test.slow/java/ghidra/jython/JythonInterpreterTest.java b/Ghidra/Extensions/Jython/src/test.slow/java/ghidra/jython/JythonInterpreterTest.javasimilarity index 100%rename from Ghidra/Features/Jython/src/test.slow/java/ghidra/jython/JythonInterpreterTest.javarename to Ghidra/Extensions/Jython/src/test.slow/java/ghidra/jython/JythonInterpreterTest.javadiff --git a/Ghidra/Features/Jython/src/test.slow/java/ghidra/jython/JythonPluginTest.java b/Ghidra/Extensions/Jython/src/test.slow/java/ghidra/jython/JythonPluginTest.javasimilarity index 100%rename from Ghidra/Features/Jython/src/test.slow/java/ghidra/jython/JythonPluginTest.javarename to Ghidra/Extensions/Jython/src/test.slow/java/ghidra/jython/JythonPluginTest.javadiff --git a/Ghidra/Features/Jython/src/test.slow/java/ghidra/jython/JythonScriptInfoTest.java b/Ghidra/Extensions/Jython/src/test.slow/java/ghidra/jython/JythonScriptInfoTest.javasimilarity index 100%rename from Ghidra/Features/Jython/src/test.slow/java/ghidra/jython/JythonScriptInfoTest.javarename to Ghidra/Extensions/Jython/src/test.slow/java/ghidra/jython/JythonScriptInfoTest.javadiff --git a/Ghidra/Features/Jython/src/test.slow/java/ghidra/jython/JythonScriptTest.java b/Ghidra/Extensions/Jython/src/test.slow/java/ghidra/jython/JythonScriptTest.javasimilarity index 100%rename from Ghidra/Features/Jython/src/test.slow/java/ghidra/jython/JythonScriptTest.javarename to Ghidra/Extensions/Jython/src/test.slow/java/ghidra/jython/JythonScriptTest.javadiff --git a/Ghidra/Features/Base/src/main/help/help/topics/GhidraScriptMgrPlugin/ScriptDevelopment.htm b/Ghidra/Features/Base/src/main/help/help/topics/GhidraScriptMgrPlugin/ScriptDevelopment.htmindex 7e524b0576..9f26b8c028 100644--- a/Ghidra/Features/Base/src/main/help/help/topics/GhidraScriptMgrPlugin/ScriptDevelopment.htm+++ b/Ghidra/Features/Base/src/main/help/help/topics/GhidraScriptMgrPlugin/ScriptDevelopment.htm@@ -26,7 +26,7 @@script-specific code.</LI><LI>Of course if you choose Java, the Ghidra script must be written in Java.- An implementation for Python (based on Jython) is also provided.</LI>+ An implementation for Python (based on PyGhidra) is also provided.</LI></OL><P align="center"><IMG border="0" src="images/New_Script_Editor.png" ></P>@@ -161,8 +161,8 @@uses the same script file extension. If left unspecified, the first Ghidra script runtimeenvironment that matches the script's extension will be used.<BR><BR>- For example, specify <TT>"@runtime Jython"</TT> if the script is targetted for a Jython 2- runtime environment rather than a Python 3 runtime environment.+ For example, specify <TT>"@runtime Jython"</TT> if the script is targeted for a Jython 2+ runtime environment rather than a CPython 3 (PyGhidra) runtime environment.</P></BLOCKQUOTE></BLOCKQUOTE>diff --git a/Ghidra/Test/IntegrationTest/src/screen/java/help/screenshot/GhidraScriptMgrPluginScreenShots.java b/Ghidra/Test/IntegrationTest/src/screen/java/help/screenshot/GhidraScriptMgrPluginScreenShots.javaindex 88bdb08cd2..7becb4774c 100644--- a/Ghidra/Test/IntegrationTest/src/screen/java/help/screenshot/GhidraScriptMgrPluginScreenShots.java+++ b/Ghidra/Test/IntegrationTest/src/screen/java/help/screenshot/GhidraScriptMgrPluginScreenShots.java@@ -35,7 +35,6 @@ import ghidra.app.plugin.core.osgi.BundleStatusComponentProvider;import ghidra.app.plugin.core.script.*;import ghidra.app.script.*;import ghidra.app.services.ConsoleService;-import ghidra.jython.JythonScriptProvider;import ghidra.util.HelpLocation;import ghidra.util.datastruct.LRUSet;@@ -223,7 +222,7 @@ public class GhidraScriptMgrPluginScreenShots extends GhidraScreenShotGeneratorList<GhidraScriptProvider> items = new ArrayList<>();JavaScriptProvider javaScriptProvider = new JavaScriptProvider();items.add(javaScriptProvider);- items.add(new JythonScriptProvider());+ //items.add(new JythonScriptProvider());final PickProviderDialog pickDialog = new PickProviderDialog(items, javaScriptProvider);runSwing(() -> tool.showDialog(pickDialog), false);diff --git a/Ghidra/Test/IntegrationTest/src/test.slow/java/ghidra/program/database/sourcemap/MappingSourceFilesTest.java b/Ghidra/Test/IntegrationTest/src/test.slow/java/ghidra/program/database/sourcemap/MappingSourceFilesTest.javaindex a314f3d74b..cce2e0553b 100644--- a/Ghidra/Test/IntegrationTest/src/test.slow/java/ghidra/program/database/sourcemap/MappingSourceFilesTest.java+++ b/Ghidra/Test/IntegrationTest/src/test.slow/java/ghidra/program/database/sourcemap/MappingSourceFilesTest.java@@ -22,7 +22,8 @@ import java.util.HexFormat;import java.util.List;import org.junit.Test;-import org.python.google.common.primitives.Longs;++import com.google.common.primitives.Longs;import ghidra.framework.store.LockException;import ghidra.program.model.address.*;diff --git a/Ghidra/Test/IntegrationTest/src/test.slow/java/ghidra/program/database/sourcemap/SourceFileTest.java b/Ghidra/Test/IntegrationTest/src/test.slow/java/ghidra/program/database/sourcemap/SourceFileTest.javaindex 7c4b9ed7c3..c7ab335f49 100644--- a/Ghidra/Test/IntegrationTest/src/test.slow/java/ghidra/program/database/sourcemap/SourceFileTest.java+++ b/Ghidra/Test/IntegrationTest/src/test.slow/java/ghidra/program/database/sourcemap/SourceFileTest.java@@ -24,7 +24,8 @@ import java.util.*;import org.apache.commons.lang3.StringUtils;import org.junit.Test;-import org.python.google.common.primitives.Longs;++import com.google.common.primitives.Longs;import ghidra.framework.store.LockException;import ghidra.util.SourceFileUtils;diff --git a/Ghidra/Test/IntegrationTest/src/test.slow/java/ghidra/program/database/sourcemap/UserDataPathTransformerTest.java b/Ghidra/Test/IntegrationTest/src/test.slow/java/ghidra/program/database/sourcemap/UserDataPathTransformerTest.javaindex ff805d568e..31b8354998 100644--- a/Ghidra/Test/IntegrationTest/src/test.slow/java/ghidra/program/database/sourcemap/UserDataPathTransformerTest.java+++ b/Ghidra/Test/IntegrationTest/src/test.slow/java/ghidra/program/database/sourcemap/UserDataPathTransformerTest.java@@ -22,7 +22,8 @@ import java.util.List;import org.junit.Before;import org.junit.Test;-import org.python.google.common.primitives.Longs;++import com.google.common.primitives.Longs;import generic.test.AbstractGenericTest;import ghidra.framework.store.LockException;