mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
NPE possible theoretically
This commit is contained in:
@@ -134,6 +134,7 @@ public class VMOptions {
|
||||
String optionValue = option + value + "m";
|
||||
String content = read();
|
||||
|
||||
if (content == null) content = "";
|
||||
content = replace(pattern, content, optionValue, "", "", content + " " + optionValue);
|
||||
|
||||
if (file.exists()) {
|
||||
|
||||
Reference in New Issue
Block a user