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:
JRE 8 rt.jar - com.* Package Source Code
JRE 8 rt.jar is the JAR file for JRE 8 RT (Runtime) libraries.
JRE (Java Runtime) 8 is the runtime environment included in JDK 8.
JRE 8 rt.jar libraries are divided into 6 packages:
com.* - Internal Oracle and Sun Microsystems libraries java.* - Standard Java API libraries. javax.* - Extended Java API libraries. jdk.* - JDK supporting libraries. org.* - Third party libraries. sun.* - Old libraries developed by Sun Microsystems.
JAR File Information:
Directory of C:\fyicenter\jdk-1.8.0_191\jre\lib 63,596,151 rt.jar
Here is the list of Java classes of the com.* package in JRE 1.8.0_191 rt.jar. Java source codes are also provided.
✍: FYIcenter
⏎ com/sun/corba/se/impl/util/JDKBridge.java
/* * Copyright (c) 1995, 2004, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ /* * Licensed Materials - Property of IBM * RMI-IIOP v1.0 * Copyright IBM Corp. 1998 1999 All Rights Reserved * */ package com.sun.corba.se.impl.util; import java.rmi.Remote; import java.rmi.NoSuchObjectException; import java.rmi.server.RMIClassLoader; import java.rmi.server.UnicastRemoteObject; import org.omg.CORBA.BAD_PARAM; import org.omg.CORBA.CompletionStatus; import java.util.Properties; import java.io.File; import java.io.FileInputStream; import java.security.AccessController; import java.security.PrivilegedAction; import java.net.MalformedURLException; import com.sun.corba.se.impl.orbutil.GetPropertyAction; /** * Utility methods for doing various method calls which are used * by multiple classes */ public class JDKBridge { /** * Get local codebase System property (java.rmi.server.codebase). * May be null or a space separated array of URLS. */ public static String getLocalCodebase () { return localCodebase; } /** * Return true if the system property "java.rmi.server.useCodebaseOnly" * is set, false otherwise. */ public static boolean useCodebaseOnly () { return useCodebaseOnly; } /** * Returns a class instance for the specified class. * @param className the name of the class * @param remoteCodebase a space-separated array of urls at which * the class might be found. May be null. * @param loader a ClassLoader who may be used to * load the class if all other methods fail. * @return the <code>Class</code> object representing the loaded class. * @exception throws ClassNotFoundException if class cannot be loaded. */ public static Class loadClass (String className, String remoteCodebase, ClassLoader loader) throws ClassNotFoundException { if (loader == null) { return loadClassM(className,remoteCodebase,useCodebaseOnly); } else { try { return loadClassM(className,remoteCodebase,useCodebaseOnly); } catch (ClassNotFoundException e) { return loader.loadClass(className); } } } /** * Returns a class instance for the specified class. * @param className the name of the class * @param remoteCodebase a space-separated array of urls at which * the class might be found. May be null. * @return the <code>Class</code> object representing the loaded class. * @exception throws ClassNotFoundException if class cannot be loaded. */ public static Class loadClass (String className, String remoteCodebase) throws ClassNotFoundException { return loadClass(className,remoteCodebase,null); } /** * Returns a class instance for the specified class. * @param className the name of the class * @return the <code>Class</code> object representing the loaded class. * @exception throws ClassNotFoundException if class cannot be loaded. */ public static Class loadClass (String className) throws ClassNotFoundException { return loadClass(className,null,null); } private static final String LOCAL_CODEBASE_KEY = "java.rmi.server.codebase"; private static final String USE_CODEBASE_ONLY_KEY = "java.rmi.server.useCodebaseOnly"; private static String localCodebase = null; private static boolean useCodebaseOnly; static { setCodebaseProperties(); } public static final void main (String[] args) { System.out.println("1.2 VM"); /* // If on 1.2, use a policy with all permissions. System.setSecurityManager (new javax.rmi.download.SecurityManager()); String targetClass = "[[Lrmic.Typedef;"; System.out.println("localCodebase = "+localCodebase); System.out.println("Trying to load "+targetClass); try { Class clz = loadClass(targetClass,null,localCodebase); System.out.println("Loaded: "+clz); } catch (ClassNotFoundException e) { System.out.println("Caught "+e); } */ } /** * Set the codebase and useCodebaseOnly properties. This is public * only for test code. */ public static synchronized void setCodebaseProperties () { String prop = (String)AccessController.doPrivileged( new GetPropertyAction(LOCAL_CODEBASE_KEY) ); if (prop != null && prop.trim().length() > 0) { localCodebase = prop; } prop = (String)AccessController.doPrivileged( new GetPropertyAction(USE_CODEBASE_ONLY_KEY) ); if (prop != null && prop.trim().length() > 0) { useCodebaseOnly = Boolean.valueOf(prop).booleanValue(); } } /** * Set the default code base. This method is here only * for test code. */ public static synchronized void setLocalCodebase(String codebase) { localCodebase = codebase; } private static Class loadClassM (String className, String remoteCodebase, boolean useCodebaseOnly) throws ClassNotFoundException { try { return JDKClassLoader.loadClass(null,className); } catch (ClassNotFoundException e) {} try { if (!useCodebaseOnly && remoteCodebase != null) { return RMIClassLoader.loadClass(remoteCodebase, className); } else { return RMIClassLoader.loadClass(className); } } catch (MalformedURLException e) { className = className + ": " + e.toString(); } throw new ClassNotFoundException(className); } }
⏎ com/sun/corba/se/impl/util/JDKBridge.java
Or download all of them as a single archive file:
File name: jre-rt-com-1.8.0_191-src.zip File size: 8099783 bytes Release date: 2018-10-28 Download
⇒ Backup JDK 8 Installation Directory
2023-02-07, 373867👍, 3💬
Popular Posts:
Where to find answers to frequently asked questions on Downloading and Using JDK (Java Development K...
HttpComponents Client Source Code Files are provided in the source package file, httpcomponents-clie...
What Is javax.websocket-api-1.1. jar?javax.websocket-api-1.1. jaris the JAR file for Java API for We...
maven-core-3.5.4.jar is the JAR file for Apache Maven 3.5.4 Core module. Apache Maven is a software ...
What Is in Xerces-J-bin.2.12.2.zip? Xerces-J-bin.2.12.2.zip file is the distribution package ZIP fil...