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/protocol/giopmsgheaders/Message_1_1.java
/* * Copyright (c) 2000, 2004, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.corba.se.impl.protocol.giopmsgheaders; import java.nio.ByteBuffer; import org.omg.CORBA.INTERNAL; import org.omg.CORBA.CompletionStatus; import com.sun.corba.se.spi.ior.iiop.GIOPVersion; import com.sun.corba.se.spi.logging.CORBALogDomains ; import com.sun.corba.se.impl.logging.ORBUtilSystemException ; /* * This implements the GIOP 1.1 & 1.2 Message header. * * @author Ram Jeyaraman 05/14/2000 */ public class Message_1_1 extends com.sun.corba.se.impl.protocol.giopmsgheaders.MessageBase { // Constants final static int UPPER_THREE_BYTES_OF_INT_MASK = 0xFF; private static ORBUtilSystemException wrapper = ORBUtilSystemException.get( CORBALogDomains.RPC_PROTOCOL ) ; // Instance variables int magic = (int) 0; GIOPVersion GIOP_version = null; byte flags = (byte) 0; byte message_type = (byte) 0; int message_size = (int) 0; // Constructor Message_1_1() { } Message_1_1(int _magic, GIOPVersion _GIOP_version, byte _flags, byte _message_type, int _message_size) { magic = _magic; GIOP_version = _GIOP_version; flags = _flags; message_type = _message_type; message_size = _message_size; } // Accessor methods public GIOPVersion getGIOPVersion() { return this.GIOP_version; } public int getType() { return this.message_type; } public int getSize() { return this.message_size; } public boolean isLittleEndian() { return ((this.flags & LITTLE_ENDIAN_BIT) == LITTLE_ENDIAN_BIT); } public boolean moreFragmentsToFollow() { return ( (this.flags & MORE_FRAGMENTS_BIT) == MORE_FRAGMENTS_BIT ); } // Mutator methods // NOTE: This is a SUN PROPRIETARY EXTENSION // Add the poolToUse to the upper 6 bits of byte 6 of the GIOP header. // this.flags represents byte 6 here. public void setThreadPoolToUse(int poolToUse) { // IMPORTANT: Bitwise operations will promote // byte types to int before performing // bitwise operations. And, Java // types are signed. int tmpFlags = poolToUse << 2; tmpFlags &= UPPER_THREE_BYTES_OF_INT_MASK; tmpFlags |= flags; flags = (byte)tmpFlags; } public void setSize(ByteBuffer byteBuffer, int size) { this.message_size = size; // // Patch the size field in the header. // int patch = size - GIOPMessageHeaderLength; if (!isLittleEndian()) { byteBuffer.put(8, (byte)((patch >>> 24) & 0xFF)); byteBuffer.put(9, (byte)((patch >>> 16) & 0xFF)); byteBuffer.put(10, (byte)((patch >>> 8) & 0xFF)); byteBuffer.put(11, (byte)((patch >>> 0) & 0xFF)); } else { byteBuffer.put(8, (byte)((patch >>> 0) & 0xFF)); byteBuffer.put(9, (byte)((patch >>> 8) & 0xFF)); byteBuffer.put(10, (byte)((patch >>> 16) & 0xFF)); byteBuffer.put(11, (byte)((patch >>> 24) & 0xFF)); } } /** * Allows us to create a fragment message from any message type. */ public FragmentMessage createFragmentMessage() { // check for message type validity switch (this.message_type) { case GIOPCancelRequest : case GIOPCloseConnection : case GIOPMessageError : throw wrapper.fragmentationDisallowed( CompletionStatus.COMPLETED_MAYBE); case GIOPLocateRequest : case GIOPLocateReply : if (this.GIOP_version.equals(GIOPVersion.V1_1)) { throw wrapper.fragmentationDisallowed( CompletionStatus.COMPLETED_MAYBE); } break; } /* // A fragmented mesg can be created only if the current mesg' fragment // bit is set. Otherwise, raise error // too stringent check if ( (this.flags & MORE_FRAGMENTS_BIT) != MORE_FRAGMENTS_BIT ) { throw wrapper.fragmentationDisallowed( CompletionStatus.COMPLETED_MAYBE); } */ if (this.GIOP_version.equals(GIOPVersion.V1_1)) { return new FragmentMessage_1_1(this); } else if (this.GIOP_version.equals(GIOPVersion.V1_2)) { return new FragmentMessage_1_2(this); } throw wrapper.giopVersionError( CompletionStatus.COMPLETED_MAYBE); } // IO methods // This should do nothing even if it is called. The Message Header is read // off a java.io.InputStream (not a CDRInputStream) by IIOPConnection // in order to choose the correct CDR Version , msg_type, and msg_size. // So, we would never need to read the Message Header off a CDRInputStream. public void read(org.omg.CORBA.portable.InputStream istream) { /* this.magic = istream.read_long(); this.GIOP_version = (new GIOPVersion()).read(istream); this.flags = istream.read_octet(); this.message_type = istream.read_octet(); this.message_size = istream.read_ulong(); */ } public void write(org.omg.CORBA.portable.OutputStream ostream) { ostream.write_long(this.magic); nullCheck(this.GIOP_version); this.GIOP_version.write(ostream); ostream.write_octet(this.flags); ostream.write_octet(this.message_type); ostream.write_ulong(this.message_size); } } // class Message_1_1
⏎ com/sun/corba/se/impl/protocol/giopmsgheaders/Message_1_1.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, 235453👍, 3💬
Popular Posts:
Saxon-HE (home edition) is an open source product available under the Mozilla Public License. It pro...
Apache Axis2 is the core engine for Web services. It is a complete re-design and re-write of the wid...
JDK 6 tools.jar is the JAR file for JDK 6 tools. It contains Java classes to support different JDK t...
How to download and install JDK (Java Development Kit) 8? If you want to write Java applications, yo...
JDK 11 jdk.crypto.cryptoki.jmod is the JMOD file for JDK 11 Crypto Cryptoki module. JDK 11 Crypto KI...