Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (322)
Collections:
Other Resources:
JDK 1.1 Source Code Directory
JDK 1.1 source code directory contains Java source code for JDK 1.1 core classes:
"C:\fyicenter\jdk-1.1.8\src".
Here is the list of Java classes of the JDK 1.1 source code:
✍: FYIcenter
⏎ java/rmi/server/RMIClassLoader.java
/*
* @(#)RMIClassLoader.java 1.12 01/12/10
*
* Copyright 2002 Sun Microsystems, Inc. All rights reserved.
* SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
package java.rmi.server;
import java.net.MalformedURLException;
import java.net.URL;
/**
* The RMIClassLoader class provides static methods for loading classes
* over the network. Classes can be loaded from either a particular URL,
* or from the URL specified in the <b>java.rmi.server.codebase</b>
* system property.
*
* @version 1.12, 12/10/01
* @author Ann Wollrath
*/
public class RMIClassLoader {
/*
* Disallow anyone from creating one of these.
*/
private RMIClassLoader() {}
private static LoaderHandler handler = null;
private static synchronized LoaderHandler getHandler()
{
if (handler == null) {
try {
Class cl = Class.forName(LoaderHandler.packagePrefix +
".LoaderHandler");
handler = (LoaderHandler)cl.newInstance();
} catch (Exception e) {
throw new Error("No LoaderHandler present");
}
}
return handler;
}
/**
* Load a class from the URL specified in the
* <b>java.rmi.server.codebase</b> property.
* @param name the name of the class to load
* @return the Class object representing the loaded class
* @exception MalformedURLException
* The system property <b>java.rmi.server.codebase</b>
* does not contain a valid URL.
* @exception ClassNotFoundException
* A definition for the class could not
* be found at the codebase URL.
*/
public static Class loadClass(String name)
throws MalformedURLException, ClassNotFoundException
{
return getHandler().loadClass(name);
}
/**
* Load a class from a URL.
* @param codebase the URL from which to load the class
* @param name the name of the class to load
* @return the Class object representing the loaded class
* @exception MalformedURLException
* The codebase paramater was null.
* @exception ClassNotFoundException
* A definition for the class could not
* be found at the specified URL.
*/
public static Class loadClass(URL codebase, String name)
throws MalformedURLException, ClassNotFoundException
{
return getHandler().loadClass(codebase, name);
}
/**
* Returns the security context of the given class loader
* @param loader a class loader from which to get the security
* context
* @return the security context (e.g., a URL)
*/
public static Object getSecurityContext(ClassLoader loader)
{
return getHandler().getSecurityContext(loader);
}
}
⏎ java/rmi/server/RMIClassLoader.java
Or download all of them as a single archive file:
File name: jdk-1.1.8-src.zip File size: 1574187 bytes Release date: 2018-11-16 Download
⇒ Backup JDK 1.1 Installation Directory
2018-11-17, ≈361🔥, 0💬
Popular Posts:
commons-lang-2.6.jar is the JAR file for Apache Commons Lang 2.6, which provides a host of helper ut...
Where to get the Java source code for Connector/J 8.0 Core API module? Java source code files for Co...
xml-commons External Source Code Files are provided in the source package file, xml-commons-external...
JDK 11 jdk.jdeps.jmod is the JMOD file for JDK 11 JDeps tool, which can be invoked by the "jdeps" co...
The JDT project provides the tool plug-ins that implement a Java IDE supporting the development of a...