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/transport/EventHandlerBase.java
/* * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.corba.se.impl.transport; import java.nio.channels.SelectionKey; import org.omg.CORBA.INTERNAL; import com.sun.corba.se.pept.transport.Acceptor; import com.sun.corba.se.pept.transport.Connection; import com.sun.corba.se.pept.transport.EventHandler; import com.sun.corba.se.spi.orb.ORB; import com.sun.corba.se.spi.orbutil.threadpool.NoSuchThreadPoolException; import com.sun.corba.se.spi.orbutil.threadpool.NoSuchWorkQueueException; import com.sun.corba.se.spi.orbutil.threadpool.Work; import com.sun.corba.se.impl.orbutil.ORBUtility; public abstract class EventHandlerBase implements EventHandler { protected ORB orb; protected Work work; protected boolean useWorkerThreadForEvent; protected boolean useSelectThreadToWait; protected SelectionKey selectionKey; //////////////////////////////////////////////////// // // EventHandler methods // public void setUseSelectThreadToWait(boolean x) { useSelectThreadToWait = x; } public boolean shouldUseSelectThreadToWait() { return useSelectThreadToWait; } public void setSelectionKey(SelectionKey selectionKey) { this.selectionKey = selectionKey; } public SelectionKey getSelectionKey() { return selectionKey; } /* * NOTE: * This is not thread-safe by design. * Only one thread should call it - a reader/listener/select thread. * Not stateless: interest ops, registration. */ public void handleEvent() { if (orb.transportDebugFlag) { dprint(".handleEvent->: " + this); } getSelectionKey().interestOps(getSelectionKey().interestOps() & (~ getInterestOps())); if (shouldUseWorkerThreadForEvent()) { Throwable throwable = null; try { if (orb.transportDebugFlag) { dprint(".handleEvent: addWork to pool: " + 0); } orb.getThreadPoolManager().getThreadPool(0) .getWorkQueue(0).addWork(getWork()); } catch (NoSuchThreadPoolException e) { throwable = e; } catch (NoSuchWorkQueueException e) { throwable = e; } // REVISIT: need to close connection. if (throwable != null) { if (orb.transportDebugFlag) { dprint(".handleEvent: " + throwable); } INTERNAL i = new INTERNAL("NoSuchThreadPoolException"); i.initCause(throwable); throw i; } } else { if (orb.transportDebugFlag) { dprint(".handleEvent: doWork"); } getWork().doWork(); } if (orb.transportDebugFlag) { dprint(".handleEvent<-: " + this); } } public boolean shouldUseWorkerThreadForEvent() { return useWorkerThreadForEvent; } public void setUseWorkerThreadForEvent(boolean x) { useWorkerThreadForEvent = x; } public void setWork(Work work) { this.work = work; } public Work getWork() { return work; } private void dprint(String msg) { ORBUtility.dprint("EventHandlerBase", msg); } } // End of file.
⏎ com/sun/corba/se/impl/transport/EventHandlerBase.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, 235346👍, 3💬
Popular Posts:
How to read XML document with XML Schema validation from socket connections with the socket\DelayedI...
Apache Axis2 is the core engine for Web services. It is a complete re-design and re-write of the wid...
What Is log4j-1.2.13.jar? I got the JAR file from logging-log4j-1.2.13.zip .log4j-1.2.13.jar is the ...
How to merge two JAR files with "jar" commands? I am tired of specifying multiple JAR files in the c...
What Is ojdbc14.jar for Oracle 10g R2? ojdbc14.jar for Oracle 10g R2 is the JAR files of ojdbc.jar, ...