mirror of
https://github.com/skylot/jadx.git
synced 2024-11-23 12:50:02 +00:00
fix: disable zip file checks for new JVM versions (#1962)
This commit is contained in:
parent
8f635076ea
commit
752c61ae71
12
.run/jadx-gui.run.xml
Normal file
12
.run/jadx-gui.run.xml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<component name="ProjectRunConfigurationManager">
|
||||||
|
<configuration default="false" name="jadx-gui" type="Application" factoryName="Application">
|
||||||
|
<option name="MAIN_CLASS_NAME" value="jadx.gui.JadxGUI"/>
|
||||||
|
<module name="jadx.jadx-gui.main"/>
|
||||||
|
<option name="PROGRAM_PARAMETERS" value="-v"/>
|
||||||
|
<option name="VM_PARAMETERS"
|
||||||
|
value="-Xms128M -XX:MaxRAMPercentage=70.0 -Dawt.useSystemAAFontSettings=lcd -Dswing.aatext=true -Djava.util.Arrays.useLegacyMergeSort=true -Djdk.util.zip.disableZip64ExtraFieldValidation=true -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED"/>
|
||||||
|
<method v="2">
|
||||||
|
<option name="Make" enabled="true"/>
|
||||||
|
</method>
|
||||||
|
</configuration>
|
||||||
|
</component>
|
@ -25,7 +25,11 @@ dependencies {
|
|||||||
application {
|
application {
|
||||||
applicationName = "jadx"
|
applicationName = "jadx"
|
||||||
mainClass.set("jadx.cli.JadxCLI")
|
mainClass.set("jadx.cli.JadxCLI")
|
||||||
applicationDefaultJvmArgs = listOf("-Xms256M", "-XX:MaxRAMPercentage=70.0")
|
applicationDefaultJvmArgs = listOf(
|
||||||
|
"-Xms256M",
|
||||||
|
"-XX:MaxRAMPercentage=70.0",
|
||||||
|
"-Djdk.util.zip.disableZip64ExtraFieldValidation=true", // disable zip checks (#1962)
|
||||||
|
)
|
||||||
applicationDistribution.from("$rootDir") {
|
applicationDistribution.from("$rootDir") {
|
||||||
include("README.md")
|
include("README.md")
|
||||||
include("NOTICE")
|
include("NOTICE")
|
||||||
|
@ -65,6 +65,7 @@ application {
|
|||||||
"-Dawt.useSystemAAFontSettings=lcd",
|
"-Dawt.useSystemAAFontSettings=lcd",
|
||||||
"-Dswing.aatext=true",
|
"-Dswing.aatext=true",
|
||||||
"-Djava.util.Arrays.useLegacyMergeSort=true",
|
"-Djava.util.Arrays.useLegacyMergeSort=true",
|
||||||
|
"-Djdk.util.zip.disableZip64ExtraFieldValidation=true", // disable zip checks (#1962)
|
||||||
"-XX:+IgnoreUnrecognizedVMOptions",
|
"-XX:+IgnoreUnrecognizedVMOptions",
|
||||||
"--add-opens=java.base/java.lang=ALL-UNNAMED", // for ktlint formatter
|
"--add-opens=java.base/java.lang=ALL-UNNAMED", // for ktlint formatter
|
||||||
)
|
)
|
||||||
|
@ -101,7 +101,7 @@ public class JavaInputLoader {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
LOG.error("Failed to process zip file: {}", file.getAbsolutePath(), e);
|
LOG.error("Failed to process zip file: {}", name, e);
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user