From 367390404d26b7bfc400d77893579e83e2a19fb9 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 25 Nov 2004 03:47:08 +0000 Subject: * Merged gcj-abi-2-dev-branch to trunk. (Actual changes too large to list in the commit message; see ChangeLog.) From-SVN: r91270 --- libjava/java/lang/Compiler.java | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'libjava/java/lang/Compiler.java') diff --git a/libjava/java/lang/Compiler.java b/libjava/java/lang/Compiler.java index f520a7e..858f63e 100644 --- a/libjava/java/lang/Compiler.java +++ b/libjava/java/lang/Compiler.java @@ -1,5 +1,5 @@ /* Compiler.java -- placeholder for Java-to-native runtime compilers - Copyright (C) 1998, 1999, 2001, 2002 Free Software Foundation, Inc. + Copyright (C) 1998, 1999, 2001, 2002, 2004 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -76,8 +76,7 @@ public final class Compiler */ public static boolean compileClass(Class oneClass) { - // Never succeed. - return false; + return VMCompiler.compileClass(oneClass); } /** @@ -90,8 +89,7 @@ public final class Compiler */ public static boolean compileClasses(String classNames) { - // Note the incredibly lame interface. Always fail. - return false; + return VMCompiler.compileClasses(classNames); } /** @@ -105,8 +103,7 @@ public final class Compiler */ public static Object command(Object arg) { - // Our implementation defines this to a no-op. - return null; + return VMCompiler.command(arg); } /** @@ -116,6 +113,7 @@ public final class Compiler */ public static void enable() { + VMCompiler.enable(); } /** @@ -124,5 +122,6 @@ public final class Compiler */ public static void disable() { + VMCompiler.disable(); } } -- cgit v1.1