# HG changeset patch # User Bernhard Urban # Date 1372350073 -7200 # Node ID 97caf20971ed169ccd5ac6f716094090fae6f156 # Parent 554f67e4ff3f9814717a23b2bc3666cc43b2245e CTW: adapt output messages, so that they match with the output of hotspot diff -r 554f67e4ff3f -r 97caf20971ed graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/CompileTheWorld.java --- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/CompileTheWorld.java Wed Jun 26 15:35:58 2013 +0200 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/CompileTheWorld.java Thu Jun 27 18:21:13 2013 +0200 @@ -165,12 +165,11 @@ } String className = je.getName().substring(0, je.getName().length() - ".class".length()); - className = className.replace('/', '.'); classFileCounter++; try { // Load and initialize class - Class javaClass = Class.forName(className, true, loader); + Class javaClass = Class.forName(className.replace('/', '.'), true, loader); // Pre-load all classes in the constant pool. try { @@ -181,7 +180,7 @@ } } catch (Throwable t) { // If something went wrong during pre-loading we just ignore it. - TTY.println("CompileTheWorld (%d) : Preloading failed for %s", classFileCounter, className); + TTY.println("Preloading failed for (%d) %s", classFileCounter, className); } // Are we compiling this class?