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/org/apache/bcel/internal/classfile/LocalVariableTypeTable.java
/* * Copyright (c) 2007, 2018, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package com.sun.org.apache.bcel.internal.classfile; /** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import com.sun.org.apache.bcel.internal.Constants; import java.io.*; // The new table is used when generic types are about... //LocalVariableTable_attribute { // u2 attribute_name_index; // u4 attribute_length; // u2 local_variable_table_length; // { u2 start_pc; // u2 length; // u2 name_index; // u2 descriptor_index; // u2 index; // } local_variable_table[local_variable_table_length]; // } //LocalVariableTypeTable_attribute { // u2 attribute_name_index; // u4 attribute_length; // u2 local_variable_type_table_length; // { // u2 start_pc; // u2 length; // u2 name_index; // u2 signature_index; // u2 index; // } local_variable_type_table[local_variable_type_table_length]; // } // J5TODO: Needs some testing ! public class LocalVariableTypeTable extends Attribute { private static final long serialVersionUID = -1082157891095177114L; private int local_variable_type_table_length; // Table of local private LocalVariable[] local_variable_type_table; // variables public LocalVariableTypeTable(LocalVariableTypeTable c) { this(c.getNameIndex(), c.getLength(), c.getLocalVariableTypeTable(), c.getConstantPool()); } public LocalVariableTypeTable(int name_index, int length, LocalVariable[] local_variable_table, ConstantPool constant_pool) { super(Constants.ATTR_LOCAL_VARIABLE_TYPE_TABLE, name_index, length, constant_pool); setLocalVariableTable(local_variable_table); } LocalVariableTypeTable(int nameIdx, int len, DataInputStream dis,ConstantPool cpool) throws IOException { this(nameIdx, len, (LocalVariable[])null, cpool); local_variable_type_table_length = (dis.readUnsignedShort()); local_variable_type_table = new LocalVariable[local_variable_type_table_length]; for(int i=0; i < local_variable_type_table_length; i++) local_variable_type_table[i] = new LocalVariable(dis, cpool); } @Override public void accept(Visitor v) { v.visitLocalVariableTypeTable(this); } @Override public final void dump(DataOutputStream file) throws IOException { super.dump(file); file.writeShort(local_variable_type_table_length); for(int i=0; i < local_variable_type_table_length; i++) local_variable_type_table[i].dump(file); } public final LocalVariable[] getLocalVariableTypeTable() { return local_variable_type_table; } public final LocalVariable getLocalVariable(int index) { for(int i=0; i < local_variable_type_table_length; i++) if(local_variable_type_table[i].getIndex() == index) return local_variable_type_table[i]; return null; } public final void setLocalVariableTable(LocalVariable[] local_variable_table) { this.local_variable_type_table = local_variable_table; local_variable_type_table_length = (local_variable_table == null)? 0 : local_variable_table.length; } /** * @return String representation. */ @Override public final String toString() { StringBuilder buf = new StringBuilder(); for(int i=0; i < local_variable_type_table_length; i++) { buf.append(local_variable_type_table[i].toString()); if(i < local_variable_type_table_length - 1) buf.append('\n'); } return buf.toString(); } /** * @return deep copy of this attribute */ @Override public Attribute copy(ConstantPool constant_pool) { LocalVariableTypeTable c = (LocalVariableTypeTable)clone(); c.local_variable_type_table = new LocalVariable[local_variable_type_table_length]; for(int i=0; i < local_variable_type_table_length; i++) c.local_variable_type_table[i] = local_variable_type_table[i].copy(); c.constant_pool = constant_pool; return c; } public final int getTableLength() { return local_variable_type_table_length; } }
⏎ com/sun/org/apache/bcel/internal/classfile/LocalVariableTypeTable.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, 251436👍, 3💬
Popular Posts:
How to merge two JAR files with "jar" commands? I am tired of specifying multiple JAR files in the c...
What Is HttpComponents httpcore-4.2.2.jar? HttpComponents httpcore-4.2.2.jar is the JAR file for Apa...
What Is poi-ooxml-3.5.jar? poi-ooxml-3.5.jar is one of the JAR files for Apache POI 3.5, which provi...
What Is commons-collections4-4.4 .jar?commons-collections4-4.4 .jaris the JAR file for Apache Common...
Where to find answers to frequently asked questions on Download and Installing of Older Versions? He...