Put readJREReleaseProperties to try catch

This commit is contained in:
Duy Tran Khanh 2021-06-12 06:09:00 +07:00 committed by GitHub
parent 6987fafd1a
commit 2f294a9002
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -284,8 +284,8 @@ public class JavaGUILauncherActivity extends LoggableActivity implements View.On
public int launchJavaRuntime(File modFile, String javaArgs) {
JREUtils.redirectAndPrintJRELog(this, null);
jreReleaseList = JREUtils.readJREReleaseProperties();
try {
jreReleaseList = JREUtils.readJREReleaseProperties();
List<String> javaArgList = new ArrayList<String>();
// Enable Caciocavallo