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/LocalClientRequestDispatcherBase.java
/* * Copyright (c) 2002, 2012, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.corba.se.impl.protocol; import org.omg.CORBA.portable.ServantObject; import com.sun.corba.se.spi.protocol.LocalClientRequestDispatcher; import com.sun.corba.se.spi.protocol.RequestDispatcherRegistry; import com.sun.corba.se.spi.orb.ORB; import com.sun.corba.se.spi.ior.IOR ; import com.sun.corba.se.spi.oa.ObjectAdapterFactory; import com.sun.corba.se.spi.ior.ObjectAdapterId; import com.sun.corba.se.spi.ior.TaggedProfile; import com.sun.corba.se.spi.ior.ObjectKeyTemplate; import com.sun.corba.se.spi.ior.ObjectId; public abstract class LocalClientRequestDispatcherBase implements LocalClientRequestDispatcher { protected ORB orb; int scid; // Cached information needed for local dispatch protected boolean servantIsLocal ; protected ObjectAdapterFactory oaf ; protected ObjectAdapterId oaid ; protected byte[] objectId ; // If isNextIsLocalValid.get() == Boolean.TRUE, // the next call to isLocal should be valid private static final ThreadLocal isNextCallValid = new ThreadLocal() { protected synchronized Object initialValue() { return Boolean.TRUE; } }; protected LocalClientRequestDispatcherBase(ORB orb, int scid, IOR ior) { this.orb = orb ; TaggedProfile prof = ior.getProfile() ; servantIsLocal = orb.getORBData().isLocalOptimizationAllowed() && prof.isLocal(); ObjectKeyTemplate oktemp = prof.getObjectKeyTemplate() ; this.scid = oktemp.getSubcontractId() ; RequestDispatcherRegistry sreg = orb.getRequestDispatcherRegistry() ; oaf = sreg.getObjectAdapterFactory( scid ) ; oaid = oktemp.getObjectAdapterId() ; ObjectId oid = prof.getObjectId() ; objectId = oid.getId() ; } public byte[] getObjectId() { return objectId ; } public boolean is_local(org.omg.CORBA.Object self) { return false; } /* * Possible paths through * useLocalInvocation/servant_preinvoke/servant_postinvoke: * * A: call useLocalInvocation * If useLocalInvocation returns false, servant_preinvoke is not called. * If useLocalInvocation returns true, * call servant_preinvoke * If servant_preinvoke returns null, * goto A * else * (local invocation proceeds normally) * servant_postinvoke is called * */ public boolean useLocalInvocation( org.omg.CORBA.Object self ) { if (isNextCallValid.get() == Boolean.TRUE) return servantIsLocal ; else isNextCallValid.set( Boolean.TRUE ) ; return false ; } /** Check that the servant in info (which must not be null) is * an instance of the expectedType. If not, set the thread local flag * and return false. */ protected boolean checkForCompatibleServant( ServantObject so, Class expectedType ) { if (so == null) return false ; // Normally, this test will never fail. However, if the servant // and the stub were loaded in different class loaders, this test // will fail. if (!expectedType.isInstance( so.servant )) { isNextCallValid.set( Boolean.FALSE ) ; // When servant_preinvoke returns null, the stub will // recursively re-invoke itself. Thus, the next call made from // the stub is another useLocalInvocation call. return false ; } return true ; } } // End of file.
⏎ com/sun/corba/se/impl/protocol/LocalClientRequestDispatcherBase.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, 251445👍, 3💬
Popular Posts:
JDK 11 jdk.rmic.jmod is the JMOD file for JDK 11 RMI (Remote Method Invocation) Compiler Tool tool, ...
Where to find answers to frequently asked questions on Downloading and Installing Connector/J - JDBC...
JDK 17 jdk.localedata.jmod is the JMOD file for JDK 17 Localedata module. JDK 17 Locale Data module ...
MXP1 is a stable XmlPull parsing engine that is based on ideas from XPP and in particular XPP2 but c...
The JDT project provides the tool plug-ins that implement a Java IDE supporting the development of a...