diff options
author | aclement <aclement> | 2007-12-18 15:46:03 +0000 |
---|---|---|
committer | aclement <aclement> | 2007-12-18 15:46:03 +0000 |
commit | 5755e1d80eba6cca1eca53dc26a9057f24e32100 (patch) | |
tree | 6b3b8e75a3f9dc1d6c27f487872995260b427d02 /org.aspectj.ajdt.core/testsrc | |
parent | 5effd12ae3d931843013bc356704fa1ce11ff168 (diff) | |
download | aspectj-5755e1d80eba6cca1eca53dc26a9057f24e32100.tar.gz aspectj-5755e1d80eba6cca1eca53dc26a9057f24e32100.zip |
166647 changed the error message to a lint
Diffstat (limited to 'org.aspectj.ajdt.core/testsrc')
-rw-r--r-- | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjcTestCase.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjcTestCase.java b/org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjcTestCase.java index 17d2e7fae..e034255ce 100644 --- a/org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjcTestCase.java +++ b/org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjcTestCase.java @@ -636,7 +636,6 @@ public class AjcTestCase extends TestCase { Class toRun = sandboxLoader.loadClass(className); Method mainMethod = toRun.getMethod("main",new Class[] {String[].class}); mainMethod.invoke(null,new Object[] {args}); - lastRunResult = new RunResult(command.toString(),new String(baosOut.toByteArray()),new String(baosErr.toByteArray())); } catch(ClassNotFoundException cnf) { fail("Can't find class: " + className); } catch(NoSuchMethodException nsm) { @@ -649,6 +648,7 @@ public class AjcTestCase extends TestCase { } finally { Thread.currentThread().setContextClassLoader(contexClassLoader); stopCapture(baosErr,baosOut); + lastRunResult = new RunResult(command.toString(),new String(baosOut.toByteArray()),new String(baosErr.toByteArray())); } return lastRunResult; } |