Mercurial > hg > graal-compiler
changeset 13579:be2b096a5f69
GraalCompilerTest: fix NPE when debugging is not enabled.
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Thu, 09 Jan 2014 11:27:45 +0100 |
parents | d8143c431d63 |
children | 8958eb3ff6b9 |
files | graal/com.oracle.graal.compiler.test/src/com/oracle/graal/compiler/test/GraalCompilerTest.java |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.compiler.test/src/com/oracle/graal/compiler/test/GraalCompilerTest.java Thu Jan 09 11:29:56 2014 +0100 +++ b/graal/com.oracle.graal.compiler.test/src/com/oracle/graal/compiler/test/GraalCompilerTest.java Thu Jan 09 11:27:45 2014 +0100 @@ -124,7 +124,9 @@ @After public void afterTest() { + if (debugScope != null) { debugScope.close(); + } debugScope = null; }