You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by te...@apache.org on 2006/05/26 15:40:27 UTC
svn commit: r409668 - in
/incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang:
ClassLoader.java Compiler.java
Author: tellison
Date: Fri May 26 06:40:27 2006
New Revision: 409668
URL: http://svn.apache.org/viewvc?rev=409668&view=rev
Log:
Generic signatures uplift in kernel stubs.
Modified:
incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/ClassLoader.java
incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/Compiler.java
Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/ClassLoader.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/ClassLoader.java?rev=409668&r1=409667&r2=409668&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/ClassLoader.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/ClassLoader.java Fri May 26 06:40:27 2006
@@ -78,7 +78,7 @@
* int the length of the class file.
* @deprecated Use defineClass(String, byte[], int, int)
*/
- protected final Class defineClass(byte[] classRep, int offset, int length)
+ protected final Class<?> defineClass(byte[] classRep, int offset, int length)
throws ClassFormatError {
return null;
}
@@ -96,7 +96,7 @@
* @param length
* int the length of the class file
*/
- protected final Class defineClass(String className, byte[] classRep,
+ protected final Class<?> defineClass(String className, byte[] classRep,
int offset, int length) throws ClassFormatError {
return null;
}
@@ -118,7 +118,7 @@
* ProtectionDomain the protection domain this class should
* belongs to.
*/
- protected final Class defineClass(String className, byte[] classRep,
+ protected final Class<?> defineClass(String className, byte[] classRep,
int offset, int length, ProtectionDomain protectionDomain)
throws java.lang.ClassFormatError {
return null;
@@ -135,7 +135,7 @@
* @exception ClassNotFoundException
* always, unless overridden.
*/
- protected Class findClass(String className) throws ClassNotFoundException {
+ protected Class<?> findClass(String className) throws ClassNotFoundException {
return null;
}
@@ -148,7 +148,7 @@
* @param className
* String the name of the class to search for.
*/
- protected final Class findLoadedClass(String className) {
+ protected final Class<?> findLoadedClass(String className) {
return null;
};
@@ -162,7 +162,7 @@
* @exception ClassNotFoundException
* if the class can not be found.
*/
- protected final Class findSystemClass(String className)
+ protected final Class<?> findSystemClass(String className)
throws ClassNotFoundException {
return null;
}
@@ -202,7 +202,7 @@
* @param resName
* String the name of the resource to find.
*/
- public final Enumeration getResources(String resName) throws IOException {
+ public Enumeration<URL> getResources(String resName) throws IOException {
return null;
}
@@ -262,7 +262,7 @@
* @param resName
* String the name of the resource to find.
*/
- public static Enumeration getSystemResources(String resName)
+ public static Enumeration<URL> getSystemResources(String resName)
throws IOException {
return null;
}
@@ -292,7 +292,7 @@
* @exception ClassNotFoundException
* If the class could not be found.
*/
- public Class loadClass(String className) throws ClassNotFoundException {
+ public Class<?> loadClass(String className) throws ClassNotFoundException {
return null;
}
@@ -310,7 +310,7 @@
* @exception ClassNotFoundException
* If the class could not be found.
*/
- protected Class loadClass(String className, boolean resolveClass)
+ protected Class<?> loadClass(String className, boolean resolveClass)
throws ClassNotFoundException {
return null;
}
@@ -325,7 +325,7 @@
* if clazz is null.
* @see Class#getResource
*/
- protected final void resolveClass(Class clazz) {
+ protected final void resolveClass(Class<?> clazz) {
return;
}
@@ -391,7 +391,7 @@
*
* @throws IOException when an error occurs
*/
- protected Enumeration findResources(String resName) throws IOException {
+ protected Enumeration<URL> findResources(String resName) throws IOException {
return null;
}
@@ -479,7 +479,7 @@
* @param signers
* The signers for the class
*/
- protected final void setSigners(Class c, Object[] signers) {
+ protected final void setSigners(Class<?> c, Object[] signers) {
return;
}
Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/Compiler.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/Compiler.java?rev=409668&r1=409667&r2=409668&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/Compiler.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/Compiler.java Fri May 26 06:40:27 2006
@@ -45,7 +45,7 @@
* @param classToCompile
* java.lang.Class the class to JIT compile
*/
- public static boolean compileClass(Class classToCompile) {
+ public static boolean compileClass(Class<?> classToCompile) {
return false;
}