[vmkit-commits] [vmkit] r143833 - /vmkit/trunk/mmtk/java/src/org/j3/mmtk/BuildTimeConfig.java

Will Dietz wdietz2 at illinois.edu
Sat Nov 5 14:14:30 PDT 2011


Author: wdietz2
Date: Sat Nov  5 16:14:30 2011
New Revision: 143833

URL: http://llvm.org/viewvc/llvm-project?rev=143833&view=rev
Log:
Remove System.err.println from mmtk stuff to fix dep on bootstrap

Not entirely sure, but with these present we get linker errors with
libFinalMMtk.a on misc pieces that are pulled in from System.err,
  namely things like sun.nio.cs.StreamEncoder.

On one hand this seems like an undiagnosed failure of the precompilation,
   however we're not trying to build System.err things while
   compiling mmtk, and this change is relatively minor.

Modified:
    vmkit/trunk/mmtk/java/src/org/j3/mmtk/BuildTimeConfig.java

Modified: vmkit/trunk/mmtk/java/src/org/j3/mmtk/BuildTimeConfig.java
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/mmtk/java/src/org/j3/mmtk/BuildTimeConfig.java?rev=143833&r1=143832&r2=143833&view=diff
==============================================================================
--- vmkit/trunk/mmtk/java/src/org/j3/mmtk/BuildTimeConfig.java (original)
+++ vmkit/trunk/mmtk/java/src/org/j3/mmtk/BuildTimeConfig.java Sat Nov  5 16:14:30 2011
@@ -53,7 +53,7 @@
     if (default_property_file == null) {
       propFileName = System.getProperty(property_file_property);
       if (propFileName == null) {
-        System.err.println(property_file_property+" must specify a properties file");
+        //System.err.println(property_file_property+" must specify a properties file");
         VM.sysExit(1);
       }   
     } else {
@@ -67,7 +67,7 @@
       propFileStream.close();
     } catch (FileNotFoundException e) {
       if (!propFileName.equals(default_property_file)) {
-        System.err.println(propFileName+" not found.");
+        //System.err.println(propFileName+" not found.");
         VM.sysExit(1);
       }   
     } catch (IOException e) {





More information about the vmkit-commits mailing list