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 - java.* 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 java.* package in JRE 1.8.0_191 rt.jar. Java source codes are also provided.
✍: FYIcenter
⏎ java/lang/invoke/ConstantCallSite.java
/* * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package java.lang.invoke; /** * A {@code ConstantCallSite} is a {@link CallSite} whose target is permanent, and can never be changed. * An {@code invokedynamic} instruction linked to a {@code ConstantCallSite} is permanently * bound to the call site's target. * @author John Rose, JSR 292 EG */ public class ConstantCallSite extends CallSite { private final boolean isFrozen; /** * Creates a call site with a permanent target. * @param target the target to be permanently associated with this call site * @throws NullPointerException if the proposed target is null */ public ConstantCallSite(MethodHandle target) { super(target); isFrozen = true; } /** * Creates a call site with a permanent target, possibly bound to the call site itself. * <p> * During construction of the call site, the {@code createTargetHook} is invoked to * produce the actual target, as if by a call of the form * {@code (MethodHandle) createTargetHook.invoke(this)}. * <p> * Note that user code cannot perform such an action directly in a subclass constructor, * since the target must be fixed before the {@code ConstantCallSite} constructor returns. * <p> * The hook is said to bind the call site to a target method handle, * and a typical action would be {@code someTarget.bindTo(this)}. * However, the hook is free to take any action whatever, * including ignoring the call site and returning a constant target. * <p> * The result returned by the hook must be a method handle of exactly * the same type as the call site. * <p> * While the hook is being called, the new {@code ConstantCallSite} * object is in a partially constructed state. * In this state, * a call to {@code getTarget}, or any other attempt to use the target, * will result in an {@code IllegalStateException}. * It is legal at all times to obtain the call site's type using the {@code type} method. * * @param targetType the type of the method handle to be permanently associated with this call site * @param createTargetHook a method handle to invoke (on the call site) to produce the call site's target * @throws WrongMethodTypeException if the hook cannot be invoked on the required arguments, * or if the target returned by the hook is not of the given {@code targetType} * @throws NullPointerException if the hook returns a null value * @throws ClassCastException if the hook returns something other than a {@code MethodHandle} * @throws Throwable anything else thrown by the hook function */ protected ConstantCallSite(MethodType targetType, MethodHandle createTargetHook) throws Throwable { super(targetType, createTargetHook); isFrozen = true; } /** * Returns the target method of the call site, which behaves * like a {@code final} field of the {@code ConstantCallSite}. * That is, the target is always the original value passed * to the constructor call which created this instance. * * @return the immutable linkage state of this call site, a constant method handle * @throws IllegalStateException if the {@code ConstantCallSite} constructor has not completed */ @Override public final MethodHandle getTarget() { if (!isFrozen) throw new IllegalStateException(); return target; } /** * Always throws an {@link UnsupportedOperationException}. * This kind of call site cannot change its target. * @param ignore a new target proposed for the call site, which is ignored * @throws UnsupportedOperationException because this kind of call site cannot change its target */ @Override public final void setTarget(MethodHandle ignore) { throw new UnsupportedOperationException(); } /** * Returns this call site's permanent target. * Since that target will never change, this is a correct implementation * of {@link CallSite#dynamicInvoker CallSite.dynamicInvoker}. * @return the immutable linkage state of this call site, a constant method handle * @throws IllegalStateException if the {@code ConstantCallSite} constructor has not completed */ @Override public final MethodHandle dynamicInvoker() { return getTarget(); } }
⏎ java/lang/invoke/ConstantCallSite.java
Or download all of them as a single archive file:
File name: jre-rt-java-1.8.0_191-src.zip File size: 6664831 bytes Release date: 2018-10-28 Download
⇒ JRE 8 rt.jar - javax.* Package Source Code
2023-08-23, 246043👍, 4💬
Popular Posts:
commons-lang-1.0.1.jar is the JAR file for Apache Commons Lang 1.0.1, which provides a host of helpe...
The JMX technology provides the tools for building distributed, Web-based, modular and dynamic solut...
What Is fop.jar? I got it from the fop-2.7-bin.zip. fop.jar in fop-2.7-bin.zip is the JAR file for F...
JDK 11 jdk.internal.le.jmod is the JMOD file for JDK 11 Internal Line Editing module. JDK 11 Interna...
Apache Axis2 is the core engine for Web services. It is a complete re-design and re-write of the wid...