classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] [generics] Patch: FYI: generics in java.lang.Compiler


From: Tom Tromey
Subject: [cp-patches] [generics] Patch: FYI: generics in java.lang.Compiler
Date: 27 Sep 2005 10:45:12 -0600
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

I'm checking this in on the generics branch.

This fixes a type in java.lang.Compiler.

Tom

Index: ChangeLog
from  Tom Tromey  <address@hidden>
        * java/lang/Compiler.java (compileClass): Updated argument type.

Index: java/lang/Compiler.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/lang/Compiler.java,v
retrieving revision 1.7.2.3
diff -u -r1.7.2.3 Compiler.java
--- java/lang/Compiler.java 2 Aug 2005 20:12:22 -0000 1.7.2.3
+++ java/lang/Compiler.java 27 Sep 2005 16:41:38 -0000
@@ -74,7 +74,7 @@
    *         compilation failed, <code>true</code> if compilation succeeded
    * @throws NullPointerException if oneClass is null
    */
-  public static boolean compileClass(Class oneClass)
+  public static boolean compileClass(Class<?> oneClass)
   {
     return VMCompiler.compileClass(oneClass);
   }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]