Skip to main content
summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/org.eclipse.jet.tests/src/org/eclipse/jet/tests/compiler/TestSimplifiedCompiler.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/org.eclipse.jet.tests/src/org/eclipse/jet/tests/compiler/TestSimplifiedCompiler.java b/tests/org.eclipse.jet.tests/src/org/eclipse/jet/tests/compiler/TestSimplifiedCompiler.java
index dca5dec..f02e067 100644
--- a/tests/org.eclipse.jet.tests/src/org/eclipse/jet/tests/compiler/TestSimplifiedCompiler.java
+++ b/tests/org.eclipse.jet.tests/src/org/eclipse/jet/tests/compiler/TestSimplifiedCompiler.java
@@ -208,8 +208,11 @@ public class TestSimplifiedCompiler extends TestCase {
* @throws Exception
*/
public void testFinish() throws Exception {
+ Map options = new HashMap(JETCompilerOptions.getDefaultCompilerOptions());
+ options.put(JETCompilerOptions.OPTION_USE_JAVA5, "false");
IJETCompiler compiler = new SimplifiedCompiler.Builder(JETAST.JET_SPEC_V2, baseLocation, compilerOutput)
.templateLoaderFQN("org.eclipse.jet.compiled.TemplateLoaderClass")
+ .options(options)
.build();
final String templatePath1 = "simple.v2.input.jet";

Back to the top