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/dynamicany/DynAnyImpl.java
/* * Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.corba.se.impl.dynamicany; import org.omg.CORBA.Any; import org.omg.CORBA.TypeCode; import org.omg.CORBA.TCKind; import org.omg.CORBA.LocalObject; import org.omg.CORBA.ORBPackage.InvalidName; import org.omg.CORBA.portable.OutputStream; import org.omg.DynamicAny.*; import org.omg.DynamicAny.DynAnyPackage.TypeMismatch; import org.omg.DynamicAny.DynAnyPackage.InvalidValue; import com.sun.corba.se.impl.orbutil.ORBConstants ; import com.sun.corba.se.spi.orb.ORB ; import com.sun.corba.se.spi.logging.CORBALogDomains ; import com.sun.corba.se.impl.logging.ORBUtilSystemException ; abstract class DynAnyImpl extends org.omg.CORBA.LocalObject implements DynAny { protected static final int NO_INDEX = -1; // A DynAny is destroyable if it is the root of a DynAny hierarchy. protected static final byte STATUS_DESTROYABLE = 0; // A DynAny is undestroyable if it is a node in a DynAny hierarchy other than the root. protected static final byte STATUS_UNDESTROYABLE = 1; // A DynAny is destroyed if its root has been destroyed. protected static final byte STATUS_DESTROYED = 2; // // Instance variables // protected ORB orb = null; protected ORBUtilSystemException wrapper ; // An Any is used internally to implement the basic DynAny. // It stores the DynAnys TypeCode. // For primitive types it is the only representation. // For complex types it is the streamed representation. protected Any any = null; // Destroyable is the default status for free standing DynAnys. protected byte status = STATUS_DESTROYABLE; protected int index = NO_INDEX; // // Constructors // protected DynAnyImpl() { wrapper = ORBUtilSystemException.get( CORBALogDomains.RPC_PRESENTATION ) ; } protected DynAnyImpl(ORB orb, Any any, boolean copyValue) { this.orb = orb; wrapper = ORBUtilSystemException.get( orb, CORBALogDomains.RPC_PRESENTATION ) ; if (copyValue) this.any = DynAnyUtil.copy(any, orb); else this.any = any; // set the current position to 0 if any has components, otherwise to -1. index = NO_INDEX; } protected DynAnyImpl(ORB orb, TypeCode typeCode) { this.orb = orb; wrapper = ORBUtilSystemException.get( orb, CORBALogDomains.RPC_PRESENTATION ) ; this.any = DynAnyUtil.createDefaultAnyOfType(typeCode, orb); } protected DynAnyFactory factory() { try { return (DynAnyFactory)orb.resolve_initial_references( ORBConstants.DYN_ANY_FACTORY_NAME ); } catch (InvalidName in) { throw new RuntimeException("Unable to find DynAnyFactory"); } } protected Any getAny() { return any; } // Uses getAny() if this is our implementation, otherwise uses to_any() // which copies the Any. protected Any getAny(DynAny dynAny) { if (dynAny instanceof DynAnyImpl) return ((DynAnyImpl)dynAny).getAny(); else // _REVISIT_ Nothing we can do about copying at this point // if this is not our implementation of DynAny. // To prevent this we would need another representation, // one where component DynAnys are initialized but not the component Anys. return dynAny.to_any(); } protected void writeAny(OutputStream out) { //System.out.println(this + " writeAny of type " + type().kind().value()); any.write_value(out); } protected void setStatus(byte newStatus) { status = newStatus; } protected void clearData() { // This clears the data part of the Any while keeping the TypeCode info. any.type(any.type()); } // // DynAny interface methods // public org.omg.CORBA.TypeCode type() { if (status == STATUS_DESTROYED) { throw wrapper.dynAnyDestroyed() ; } return any.type(); } // Makes a copy of the Any value inside the parameter public void assign (org.omg.DynamicAny.DynAny dyn_any) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch { if (status == STATUS_DESTROYED) { throw wrapper.dynAnyDestroyed() ; } if ((any != null) && (! any.type().equal(dyn_any.type()))) { throw new TypeMismatch(); } any = dyn_any.to_any(); } // Makes a copy of the Any parameter public void from_any (org.omg.CORBA.Any value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch, org.omg.DynamicAny.DynAnyPackage.InvalidValue { if (status == STATUS_DESTROYED) { throw wrapper.dynAnyDestroyed() ; } if ((any != null) && (! any.type().equal(value.type()))) { throw new TypeMismatch(); } // If the passed Any does not contain a legal value // (such as a null string), the operation raises InvalidValue. Any tempAny = null; try { tempAny = DynAnyUtil.copy(value, orb); } catch (Exception e) { throw new InvalidValue(); } if ( ! DynAnyUtil.isInitialized(tempAny)) { throw new InvalidValue(); } any = tempAny; } public abstract org.omg.CORBA.Any to_any(); public abstract boolean equal (org.omg.DynamicAny.DynAny dyn_any); public abstract void destroy(); public abstract org.omg.DynamicAny.DynAny copy(); // Needed for org.omg.CORBA.Object private String[] __ids = { "IDL:omg.org/DynamicAny/DynAny:1.0" }; public String[] _ids() { return (String[]) __ids.clone(); } }
⏎ com/sun/corba/se/impl/dynamicany/DynAnyImpl.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, 317658👍, 3💬
Popular Posts:
How to show the XML parsing flow with sax\DocumentTracer.java provided in the Apache Xerces package?...
Provides a simple high-level Http server API, which can be used to build embedded HTTP servers. Both...
SLF4J API is a simple API that allows to plug in any desired logging library at deployment time. Her...
What Is commons-io-2.11.jar? commons-io-2.11.jar is the JAR file for Commons IO 2.5, which is a libr...
JasperReports, the world's most popular open source business intelligence and reporting engine and J...