mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
GP-0: Removing some unneeded JVM args now that "Inverted Color Mode" is
gone
This commit is contained in:
@@ -28,6 +28,6 @@
|
|||||||
<stringAttribute key="org.eclipse.jdt.launching.MODULE_NAME" value="_Integration Test"/>
|
<stringAttribute key="org.eclipse.jdt.launching.MODULE_NAME" value="_Integration Test"/>
|
||||||
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="ghidra.GhidraRun"/>
|
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="ghidra.GhidraRun"/>
|
||||||
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="_Integration Test"/>
|
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="_Integration Test"/>
|
||||||
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-XX:+IgnoreUnrecognizedVMOptions -Djava.system.class.loader=ghidra.GhidraClassLoader -Xshare:off -Dfile.encoding=UTF8 -Duser.country=US -Duser.language=en -Dsun.java2d.pmoffscreen=false -Dsun.java2d.xrender=true -Dsun.java2d.d3d=false -Xdock:name="Ghidra" -Dvisualvm.display.name=Ghidra -Dpython.console.encoding=UTF-8 --add-opens=java.desktop/sun.awt.image=ALL-UNNAMED"/>
|
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-XX:+IgnoreUnrecognizedVMOptions -Djava.system.class.loader=ghidra.GhidraClassLoader -Xshare:off -Dfile.encoding=UTF8 -Duser.country=US -Duser.language=en -Dsun.java2d.pmoffscreen=false -Dsun.java2d.xrender=true -Dsun.java2d.d3d=false -Xdock:name="Ghidra" -Dvisualvm.display.name=Ghidra -Dpython.console.encoding=UTF-8"/>
|
||||||
<stringAttribute key="org.eclipse.jdt.launching.WORKING_DIRECTORY" value="${workspace_loc:Framework Utility}"/>
|
<stringAttribute key="org.eclipse.jdt.launching.WORKING_DIRECTORY" value="${workspace_loc:Framework Utility}"/>
|
||||||
</launchConfiguration>
|
</launchConfiguration>
|
||||||
|
|||||||
@@ -30,5 +30,5 @@
|
|||||||
<stringAttribute key="org.eclipse.jdt.launching.MODULE_NAME" value="Framework Utility"/>
|
<stringAttribute key="org.eclipse.jdt.launching.MODULE_NAME" value="Framework Utility"/>
|
||||||
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="ghidra.GhidraRun"/>
|
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="ghidra.GhidraRun"/>
|
||||||
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="Framework Utility"/>
|
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="Framework Utility"/>
|
||||||
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-XX:+IgnoreUnrecognizedVMOptions -Djava.system.class.loader=ghidra.GhidraClassLoader -Xshare:off -Dfile.encoding=UTF8 -Duser.country=US -Duser.language=en -Dsun.java2d.pmoffscreen=false -Dsun.java2d.xrender=true -Dsun.java2d.d3d=false -Xdock:name="Ghidra" -Dvisualvm.display.name=Ghidra -Dpython.console.encoding=UTF-8 --add-opens=java.desktop/sun.awt.image=ALL-UNNAMED"/>
|
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-XX:+IgnoreUnrecognizedVMOptions -Djava.system.class.loader=ghidra.GhidraClassLoader -Xshare:off -Dfile.encoding=UTF8 -Duser.country=US -Duser.language=en -Dsun.java2d.pmoffscreen=false -Dsun.java2d.xrender=true -Dsun.java2d.d3d=false -Xdock:name="Ghidra" -Dvisualvm.display.name=Ghidra -Dpython.console.encoding=UTF-8"/>
|
||||||
</launchConfiguration>
|
</launchConfiguration>
|
||||||
|
|||||||
@@ -32,10 +32,6 @@ dependencies {
|
|||||||
compileOnly "junit:junit:4.12"
|
compileOnly "junit:junit:4.12"
|
||||||
}
|
}
|
||||||
|
|
||||||
// For Java 9, we must explicitly export references to the internal classes we are using.
|
|
||||||
// We export them to all "unnamed" modules, which are modules that don't define themselves
|
|
||||||
// as a new Java 9 style module. Ghidra is currently using unnamed modules everywhere.
|
|
||||||
ext.addExports([
|
ext.addExports([
|
||||||
'java.desktop/sun.awt=ALL-UNNAMED',
|
'java.desktop/sun.awt=ALL-UNNAMED'
|
||||||
'java.desktop/sun.awt.image=ALL-UNNAMED'
|
|
||||||
])
|
])
|
||||||
|
|||||||
@@ -69,9 +69,6 @@ VMARGS_WINDOWS=-Dlog4j.skipJansi=true
|
|||||||
# Ghidra does not use class data sharing, so explicitly turn it off to avoid the warning.
|
# Ghidra does not use class data sharing, so explicitly turn it off to avoid the warning.
|
||||||
VMARGS=-Xshare:off
|
VMARGS=-Xshare:off
|
||||||
|
|
||||||
# Permit "illegal reflective accesses" to enable JDK compatibility with Ghidra and 3rd party jars.
|
|
||||||
VMARGS=--add-opens=java.desktop/sun.awt.image=ALL-UNNAMED
|
|
||||||
|
|
||||||
# Persistent cache directory used by the application. This directory will be used to store
|
# Persistent cache directory used by the application. This directory will be used to store
|
||||||
# persistent application caches for all users. The default location for Mac/Linux is the same as
|
# persistent application caches for all users. The default location for Mac/Linux is the same as
|
||||||
# specified by java.io.tmpdir property. The default location for Windows corresponds to the
|
# specified by java.io.tmpdir property. The default location for Windows corresponds to the
|
||||||
|
|||||||
@@ -134,10 +134,6 @@ task createJavadocs(type: Javadoc, description: 'Generate javadocs for all proje
|
|||||||
options.addBooleanOption("html5", true)
|
options.addBooleanOption("html5", true)
|
||||||
|
|
||||||
options.addBooleanOption('Xdoclint:none', true)
|
options.addBooleanOption('Xdoclint:none', true)
|
||||||
|
|
||||||
// Some internal packages are not public and need to be exported.
|
|
||||||
options.addMultilineStringsOption("-add-exports").setValue(["java.desktop/sun.awt.image=ALL-UNNAMED",
|
|
||||||
"java.desktop/sun.awt=ALL-UNNAMED"])
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -192,12 +188,7 @@ task createJsondocs(type: Javadoc, description: 'Generate JSON docs for all proj
|
|||||||
// Newer versions of gradle set this to true by default.
|
// Newer versions of gradle set this to true by default.
|
||||||
// The JsonDoclet doesn't have the -notimestamp option so ensure it isn't set.
|
// The JsonDoclet doesn't have the -notimestamp option so ensure it isn't set.
|
||||||
options.setNoTimestamp(false)
|
options.setNoTimestamp(false)
|
||||||
|
|
||||||
|
|
||||||
// Some internal packages are not public and need to be exported.
|
|
||||||
options.addMultilineStringsOption("-add-exports").setValue(["java.desktop/sun.awt.image=ALL-UNNAMED",
|
|
||||||
"java.desktop/sun.awt=ALL-UNNAMED"])
|
|
||||||
|
|
||||||
options.doclet = "JsonDoclet"
|
options.doclet = "JsonDoclet"
|
||||||
doFirst {
|
doFirst {
|
||||||
options.docletpath = new ArrayList(configurations.jsondoc.files)
|
options.docletpath = new ArrayList(configurations.jsondoc.files)
|
||||||
|
|||||||
Reference in New Issue
Block a user