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/encoding/CodeSetCache.java
/* * Copyright (c) 2001, 2004, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.corba.se.impl.encoding; import java.nio.charset.CharsetDecoder; import java.nio.charset.CharsetEncoder; import java.util.Map; import java.util.WeakHashMap; /** * Thread local cache of sun.io code set converters for performance. * * The thread local class contains a single reference to a Map[] * containing two WeakHashMaps. One for CharsetEncoders and * one for CharsetDecoders. Constants are defined for indexing. * * This is used internally by CodeSetConversion. */ class CodeSetCache { /** * The ThreadLocal data is a 2 element Map array indexed * by BTC_CACHE_MAP and CTB_CACHE_MAP. */ private ThreadLocal converterCaches = new ThreadLocal() { public java.lang.Object initialValue() { return new Map[] { new WeakHashMap(), new WeakHashMap() }; } }; /** * Index in the thread local converterCaches array for * the byte to char converter Map. A key is the Java * name corresponding to the desired code set. */ private static final int BTC_CACHE_MAP = 0; /** * Index in the thread local converterCaches array for * the char to byte converter Map. A key is the Java * name corresponding to the desired code set. */ private static final int CTB_CACHE_MAP = 1; /** * Retrieve a CharsetDecoder from the Map using the given key. */ CharsetDecoder getByteToCharConverter(Object key) { Map btcMap = ((Map[])converterCaches.get())[BTC_CACHE_MAP]; return (CharsetDecoder)btcMap.get(key); } /** * Retrieve a CharsetEncoder from the Map using the given key. */ CharsetEncoder getCharToByteConverter(Object key) { Map ctbMap = ((Map[])converterCaches.get())[CTB_CACHE_MAP]; return (CharsetEncoder)ctbMap.get(key); } /** * Stores the given CharsetDecoder in the thread local cache, * and returns the same converter. */ CharsetDecoder setConverter(Object key, CharsetDecoder converter) { Map btcMap = ((Map[])converterCaches.get())[BTC_CACHE_MAP]; btcMap.put(key, converter); return converter; } /** * Stores the given CharsetEncoder in the thread local cache, * and returns the same converter. */ CharsetEncoder setConverter(Object key, CharsetEncoder converter) { Map ctbMap = ((Map[])converterCaches.get())[CTB_CACHE_MAP]; ctbMap.put(key, converter); return converter; } }
⏎ com/sun/corba/se/impl/encoding/CodeSetCache.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, 235371👍, 3💬
Popular Posts:
Apache Commons Lang 3 is the 3rd version of Apache Commons Lang, which provides a host of helper uti...
Java Servlet 3.0 Specification API. JAR File Size and Download Location: File name: servlet-api.jar,...
JDK 11 jrt-fs.jar is the JAR file for JDK 11 JRT-FS (Java RunTime - File System) defined in the "jdk...
Rhino JavaScript Java Library is an open-source implementation of JavaScript written entirely in Jav...
Jaxen, Release 1.1.1, is an open source XPath library written in Java. It is adaptable to many diffe...