< prev index next >
src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements.test/src/org/graalvm/compiler/replacements/test/StringIndexOfConstantTest.java
Print this page
rev 56282 : [mq]: graal
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
@@ -32,10 +32,14 @@
import org.graalvm.compiler.replacements.ConstantBindingParameterPlugin;
import org.junit.Test;
public class StringIndexOfConstantTest extends StringIndexOfTestBase {
+ public StringIndexOfConstantTest(String sourceString, String constantString) {
+ super(sourceString, constantString);
+ }
+
/*
* These test definitions could live in the superclass except that the mx junit individual test
* runner can't find tests in superclasses.
*/
@Override
@@ -85,8 +89,9 @@
}
@Override
protected InstalledCode getCode(final ResolvedJavaMethod installedCodeOwner, StructuredGraph graph0, boolean ignoreForceCompile, boolean ignoreInstallAsDefault, OptionValues options) {
// Force recompile if constant binding should be done
- return super.getCode(installedCodeOwner, graph0, /* forceCompile */true, /* installAsDefault */false, options);
+ return super.getCode(installedCodeOwner, graph0,
+ /* forceCompile */ true, /* installAsDefault */ false, options);
}
}
< prev index next >