Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
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 (309)
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/ior/ObjectKeyTemplateBase.java
/* * Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.corba.se.impl.ior; import java.util.Iterator ; import org.omg.CORBA_2_3.portable.InputStream ; import org.omg.CORBA_2_3.portable.OutputStream ; import com.sun.corba.se.spi.protocol.CorbaServerRequestDispatcher ; import com.sun.corba.se.spi.ior.ObjectId ; import com.sun.corba.se.spi.ior.ObjectAdapterId ; import com.sun.corba.se.spi.ior.ObjectKeyTemplate ; import com.sun.corba.se.spi.orb.ORB ; import com.sun.corba.se.spi.orb.ORBVersion ; import com.sun.corba.se.spi.logging.CORBALogDomains ; import com.sun.corba.se.impl.encoding.EncapsOutputStream ; import com.sun.corba.se.impl.logging.IORSystemException ; /** * @author */ public abstract class ObjectKeyTemplateBase implements ObjectKeyTemplate { // Fixed constants for Java IDL object key template forms public static final String JIDL_ORB_ID = "" ; private static final String[] JIDL_OAID_STRINGS = { "TransientObjectAdapter" } ; public static final ObjectAdapterId JIDL_OAID = new ObjectAdapterIdArray( JIDL_OAID_STRINGS ) ; private ORB orb ; protected IORSystemException wrapper ; private ORBVersion version ; private int magic ; private int scid ; private int serverid ; private String orbid ; private ObjectAdapterId oaid ; private byte[] adapterId ; public byte[] getAdapterId() { return (byte[])(adapterId.clone()) ; } private byte[] computeAdapterId() { // write out serverid, orbid, oaid ByteBuffer buff = new ByteBuffer() ; buff.append( getServerId() ) ; buff.append( orbid ) ; buff.append( oaid.getNumLevels() ) ; Iterator iter = oaid.iterator() ; while (iter.hasNext()) { String comp = (String)(iter.next()) ; buff.append( comp ) ; } buff.trimToSize() ; return buff.toArray() ; } public ObjectKeyTemplateBase( ORB orb, int magic, int scid, int serverid, String orbid, ObjectAdapterId oaid ) { this.orb = orb ; this.wrapper = IORSystemException.get( orb, CORBALogDomains.OA_IOR ) ; this.magic = magic ; this.scid = scid ; this.serverid = serverid ; this.orbid = orbid ; this.oaid = oaid ; adapterId = computeAdapterId() ; } public boolean equals( Object obj ) { if (!(obj instanceof ObjectKeyTemplateBase)) return false ; ObjectKeyTemplateBase other = (ObjectKeyTemplateBase)obj ; return (magic == other.magic) && (scid == other.scid) && (serverid == other.serverid) && (version.equals( other.version ) && orbid.equals( other.orbid ) && oaid.equals( other.oaid )) ; } public int hashCode() { int result = 17 ; result = 37*result + magic ; result = 37*result + scid ; result = 37*result + serverid ; result = 37*result + version.hashCode() ; result = 37*result + orbid.hashCode() ; result = 37*result + oaid.hashCode() ; return result ; } public int getSubcontractId() { return scid ; } public int getServerId() { return serverid ; } public String getORBId() { return orbid ; } public ObjectAdapterId getObjectAdapterId() { return oaid ; } public void write(ObjectId objectId, OutputStream os) { writeTemplate( os ) ; objectId.write( os ) ; } public void write( OutputStream os ) { writeTemplate( os ) ; } abstract protected void writeTemplate( OutputStream os ) ; protected int getMagic() { return magic ; } // All subclasses should set the version in their constructors. // Public so it can be used in a white-box test. public void setORBVersion( ORBVersion version ) { this.version = version ; } public ORBVersion getORBVersion() { return version ; } protected byte[] readObjectKey( InputStream is ) { int len = is.read_long() ; byte[] result = new byte[len] ; is.read_octet_array( result, 0, len ) ; return result ; } public CorbaServerRequestDispatcher getServerRequestDispatcher( ORB orb, ObjectId id ) { return orb.getRequestDispatcherRegistry().getServerRequestDispatcher( scid ) ; } }
⏎ com/sun/corba/se/impl/ior/ObjectKeyTemplateBase.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, 250394👍, 3💬
Popular Posts:
ASM is an all purpose Java bytecode manipulation and analysis framework. It can be used to modify ex...
MXP1 is a stable XmlPull parsing engine that is based on ideas from XPP and in particular XPP2 but c...
JDK 11 java.sql.rowset.jmod is the JMOD file for JDK 11 SQL Rowset module. JDK 11 SQL Rowset module ...
JDK 11 java.desktop.jmod is the JMOD file for JDK 11 Desktop module. JDK 11 Desktop module compiled ...
JDK 11 jdk.internal.le.jmod is the JMOD file for JDK 11 Internal Line Editing module. JDK 11 Interna...