/[classpath]/classpath/java/lang/Compiler.java
ViewVC logotype

Diff of /classpath/java/lang/Compiler.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by mkoch, Mon Apr 12 14:32:59 2004 UTC revision 1.8 by tromey, Tue Aug 17 02:55:08 2004 UTC
# Line 1  Line 1 
1  /* Compiler.java -- placeholder for Java-to-native runtime compilers  /* Compiler.java -- placeholder for Java-to-native runtime compilers
2     Copyright (C) 1998, 1999, 2001, 2002 Free Software Foundation, Inc.     Copyright (C) 1998, 1999, 2001, 2002, 2004 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 76  public final class Compiler Line 76  public final class Compiler
76     */     */
77    public static boolean compileClass(Class oneClass)    public static boolean compileClass(Class oneClass)
78    {    {
79      // Never succeed.      return VMCompiler.compileClass(oneClass);
     return false;  
80    }    }
81    
82    /**    /**
# Line 90  public final class Compiler Line 89  public final class Compiler
89     */     */
90    public static boolean compileClasses(String classNames)    public static boolean compileClasses(String classNames)
91    {    {
92      // Note the incredibly lame interface.  Always fail.      return VMCompiler.compileClasses(classNames);
     return false;  
93    }    }
94    
95    /**    /**
# Line 105  public final class Compiler Line 103  public final class Compiler
103     */     */
104    public static Object command(Object arg)    public static Object command(Object arg)
105    {    {
106      // Our implementation defines this to a no-op.      return VMCompiler.command(arg);
     return null;  
107    }    }
108    
109    /**    /**
# Line 116  public final class Compiler Line 113  public final class Compiler
113     */     */
114    public static void enable()    public static void enable()
115    {    {
116        VMCompiler.enable();
117    }    }
118    
119    /**    /**
# Line 124  public final class Compiler Line 122  public final class Compiler
122     */     */
123    public static void disable()    public static void disable()
124    {    {
125        VMCompiler.disable();
126    }    }
127  }  }

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26