This commit is contained in:
Jesper Wilhelmsson 2014-11-03 15:53:03 +01:00
commit 40cf3f17ed

View File

@ -128,8 +128,7 @@ public final class Utils {
*/
private static final Pattern useGcPattern = Pattern.compile(
"(?:\\-XX\\:[\\+\\-]Use.+GC)"
+ "|(?:\\-Xconcgc)"
+ "|(?:\\-Xincgc)");
+ "|(?:\\-Xconcgc)");
public static List<String> removeGcOpts(List<String> opts) {
List<String> optsWithoutGC = new ArrayList<String>();
for (String opt : opts) {