Mercurial > hg > graal-compiler
diff graal/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/AnnotationProcessor.java @ 18804:07b61dff860f
Truffle-DSL: disable model dumping on error as they can produce a message that is too long for eclipse to handle.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Fri, 09 Jan 2015 16:01:11 +0100 |
parents | 714f4931b02c |
children |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/AnnotationProcessor.java Fri Jan 09 16:00:34 2015 +0100 +++ b/graal/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/AnnotationProcessor.java Fri Jan 09 16:01:11 2015 +0100 @@ -81,7 +81,7 @@ try { unit = factory.create(ProcessorContext.getInstance(), model); } catch (Throwable e) { - throw new RuntimeException(String.format("Failed to write code for %s. Parserdump:%s.", ElementUtils.getQualifiedName(type), model.dump()), e); + throw new RuntimeException(String.format("Failed to write code for %s. Parserdump:%s.", ElementUtils.getQualifiedName(type), ""), e); } if (unit == null) { return;