Mercurial > hg > truffle
comparison graal/com.oracle.max.base/src/com/sun/max/test/ReflectiveExecutor.java @ 4142:bc8527f3071c
Adjust code base to new level of warnings.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Sun, 18 Dec 2011 05:24:06 +0100 |
parents | e233f5660da4 |
children |
comparison
equal
deleted
inserted
replaced
4141:04d21be7a24f | 4142:bc8527f3071c |
---|---|
61 throw ProgramError.unexpected(e); | 61 throw ProgramError.unexpected(e); |
62 } | 62 } |
63 } | 63 } |
64 | 64 |
65 public static void main(String[] args) { | 65 public static void main(String[] args) { |
66 final Registry<TestHarness> reg = new Registry<TestHarness>(TestHarness.class, true); | 66 final Registry<TestHarness> reg = new Registry<>(TestHarness.class, true); |
67 final JavaExecHarness javaExecHarness = new JavaExecHarness(new ReflectiveExecutor()); | 67 final JavaExecHarness javaExecHarness = new JavaExecHarness(new ReflectiveExecutor()); |
68 reg.registerObject("java", javaExecHarness); | 68 reg.registerObject("java", javaExecHarness); |
69 final TestEngine e = new TestEngine(reg); | 69 final TestEngine e = new TestEngine(reg); |
70 e.parseAndRunTests(args); | 70 e.parseAndRunTests(args); |
71 e.report(System.out); | 71 e.report(System.out); |