Mercurial > hg > truffle
diff graal/com.oracle.graal.jtt/src/com/oracle/graal/jtt/jdk/System_setOut.java @ 8959:7fee8bd5d2bd
Remove some System.(out|err).print...
Add a checkstyle rule for it
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Tue, 09 Apr 2013 19:25:20 +0200 |
parents | c38d2870439e |
children | a6fda38d8484 |
line wrap: on
line diff
--- a/graal/com.oracle.graal.jtt/src/com/oracle/graal/jtt/jdk/System_setOut.java Tue Apr 09 19:24:39 2013 +0200 +++ b/graal/com.oracle.graal.jtt/src/com/oracle/graal/jtt/jdk/System_setOut.java Tue Apr 09 19:25:20 2013 +0200 @@ -46,6 +46,7 @@ return sum; } + // CheckStyle: stop system..print check private static void doPrint(int n) { for (int i = 0; i < n; i++) { System.out.print('x'); @@ -56,6 +57,8 @@ System.out.println(test(10000)); } + // CheckStyle: resume system..print check + @LongTest public void run0() throws Throwable { runTest("test", 10000);