mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-30 07:49:41 +08:00
GP-1193: Replacing --illegal-access=permit with --add-opens JVM
arguments for JDK 17 compatibility
This commit is contained in:
@@ -81,8 +81,13 @@ VMARGS_WINDOWS=-Dlog4j.skipJansi=true
|
||||
# Ghidra does not use class data sharing, so explicitly turn it off to avoid the warning.
|
||||
VMARGS=-Xshare:off
|
||||
|
||||
# Permit "illegal reflective accesses" to enable compatibility with some 3rd party jars
|
||||
VMARGS=--illegal-access=permit
|
||||
# Permit "illegal reflective accesses" to enable JDK compatibility with Ghidra and 3rd party jars.
|
||||
VMARGS=--add-opens java.base/java.lang=ALL-UNNAMED
|
||||
VMARGS=--add-opens java.base/java.net=ALL-UNNAMED
|
||||
VMARGS=--add-opens java.desktop/sun.awt.image=ALL-UNNAMED
|
||||
VMARGS=--add-opens java.base/sun.security.x509=ALL-UNNAMED
|
||||
VMARGS=--add-opens java.base/sun.security.util=ALL-UNNAMED
|
||||
VMARGS_LINUX=--add-opens java.desktop/sun.awt.X11=ALL-UNNAMED
|
||||
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user