Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
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 (322)
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/orb/PrefixParserAction.java
/*
* Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package com.sun.corba.se.impl.orb ;
import org.omg.CORBA.INITIALIZE ;
import java.util.Properties ;
import java.util.List ;
import java.util.LinkedList ;
import java.util.Iterator ;
import java.lang.reflect.Array ;
import com.sun.corba.se.spi.orb.Operation ;
import com.sun.corba.se.spi.orb.StringPair ;
import com.sun.corba.se.spi.logging.CORBALogDomains ;
import com.sun.corba.se.impl.orbutil.ObjectUtility ;
import com.sun.corba.se.impl.logging.ORBUtilSystemException ;
public class PrefixParserAction extends ParserActionBase {
private Class componentType ;
private ORBUtilSystemException wrapper ;
public PrefixParserAction( String propertyName,
Operation operation, String fieldName, Class componentType )
{
super( propertyName, true, operation, fieldName ) ;
this.componentType = componentType ;
this.wrapper = ORBUtilSystemException.get(
CORBALogDomains.ORB_LIFECYCLE ) ;
}
/** For each String s that matches the prefix given by getPropertyName(),
* apply getOperation() to { suffix( s ), value }
* and add the result to an Object[]
* which forms the result of apply. Returns null if there are no
* matches.
*/
public Object apply( Properties props )
{
String prefix = getPropertyName() ;
int prefixLength = prefix.length() ;
if (prefix.charAt( prefixLength - 1 ) != '.') {
prefix += '.' ;
prefixLength++ ;
}
List matches = new LinkedList() ;
// Find all keys in props that start with propertyName
Iterator iter = props.keySet().iterator() ;
while (iter.hasNext()) {
String key = (String)(iter.next()) ;
if (key.startsWith( prefix )) {
String suffix = key.substring( prefixLength ) ;
String value = props.getProperty( key ) ;
StringPair data = new StringPair( suffix, value ) ;
Object result = getOperation().operate( data ) ;
matches.add( result ) ;
}
}
int size = matches.size() ;
if (size > 0) {
// Convert the list into an array of the proper type.
// An Object[] as a result does NOT work. Also report
// any errors carefully, as errors here or in parsers that
// use this Operation often show up at ORB.init().
Object result = null ;
try {
result = Array.newInstance( componentType, size ) ;
} catch (Throwable thr) {
throw wrapper.couldNotCreateArray( thr,
getPropertyName(), componentType,
new Integer( size ) ) ;
}
Iterator iter2 = matches.iterator() ;
int ctr = 0 ;
while (iter2.hasNext()) {
Object obj = iter2.next() ;
try {
Array.set( result, ctr, obj ) ;
} catch (Throwable thr) {
throw wrapper.couldNotSetArray( thr,
getPropertyName(), new Integer(ctr),
componentType, new Integer(size),
obj.toString() ) ;
}
ctr++ ;
}
return result ;
} else
return null ;
}
}
⏎ com/sun/corba/se/impl/orb/PrefixParserAction.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, ≈821🔥, 3💬
Popular Posts:
What Is junit-3.8.1.jar? junit-3.8.1.jar is the version 3.8.1 of JUnit JAR library file. JUnit is a ...
What Is poi-3.5.jar - Part 2? poi-3.5.jar is one of the JAR files for Apache POI 3.5, which provides...
JDK 11 java.security.jgss.jmod is the JMOD file for JDK 11 Security JGSS (Java Generic Security Serv...
iText is an ideal library for developers looking to enhance web- and other applications with dynamic...
Apache ZooKeeper is an open-source server which enables highly reliable distributed coordination. Ap...