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:
JDK 11 jdk.rmic.jmod - RMI Compiler Tool
JDK 11 jdk.rmic.jmod is the JMOD file for JDK 11 RMI (Remote Method Invocation) Compiler Tool tool, which can be invoked by the "rmic" command.
JDK 11 RMI Compiler Tool tool compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\jdk.rmic.jmod.
JDK 11 RMI Compiler Tool tool compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 RMI Compiler Tool tool source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\jdk.rmic.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ sun/tools/tree/LocalMember.java
/* * Copyright (c) 1994, 2003, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package sun.tools.tree; import sun.tools.java.*; import sun.tools.tree.*; import java.util.Vector; /** * A local Field * * WARNING: The contents of this source file are not part of any * supported API. Code that depends on them does so at its own risk: * they are subject to change or removal without notice. */ public class LocalMember extends MemberDefinition { /** * The number of the variable */ int number = -1; /** * Some statistics */ int readcount; int writecount; /** * An indication of which block the variable comes from. * Helps identify uplevel references. */ int scopeNumber; /** * Return current nesting level, i.e., the value of 'scopeNumber'. * Made public for the benefit of 'ClassDefinition.resolveName'. */ public int getScopeNumber() { return scopeNumber; } /** * Used by copyInline to record the original of this copy. */ LocalMember originalOfCopy; /** * The previous local variable, this list is used to build a nested * context of local variables. */ LocalMember prev; /** * Constructor */ public LocalMember(long where, ClassDefinition clazz, int modifiers, Type type, Identifier name) { super(where, clazz, modifiers, type, name, null, null); } /** * Constructor for a block-inner class. */ public LocalMember(ClassDefinition innerClass) { super(innerClass); // The class's "real" name is something like "foo$1$bar", but locally: name = innerClass.getLocalName(); } /** * Constructor for a proxy to an instance or class variable. */ LocalMember(MemberDefinition field) { this(0, null, 0, field.getType(), idClass); // use this random slot to store the info: accessPeer = field; } /** * Is this a proxy for the given field? */ final MemberDefinition getMember() { return (name == idClass) ? accessPeer : null; } /** * Special checks */ public boolean isLocal() { return true; } /** * Make a copy of this field, which is an argument to a method * or constructor. Arrange so that when occurrences of the field * are encountered in an immediately following copyInline() operation, * the expression nodes will replace the original argument by the * fresh copy. */ public LocalMember copyInline(Context ctx) { LocalMember copy = new LocalMember(where, clazz, modifiers, type, name); copy.readcount = this.readcount; copy.writecount = this.writecount; copy.originalOfCopy = this; // Make a temporary link from the original. // It only stays valid through the next call to copyInline(). // (This means that recursive inlining won't work.) // To stay honest, we mark these inline copies: copy.addModifiers(M_LOCAL); if (this.accessPeer != null && (this.accessPeer.getModifiers() & M_LOCAL) == 0) { throw new CompilerError("local copyInline"); } this.accessPeer = copy; return copy; } /** * Returns the previous result of copyInline(ctx). * Must be called in the course of an Expression.copyInline() * operation that immediately follows the LocalMember.copyInline(). * Return "this" if there is no such copy. */ public LocalMember getCurrentInlineCopy(Context ctx) { MemberDefinition accessPeer = this.accessPeer; if (accessPeer != null && (accessPeer.getModifiers() & M_LOCAL) != 0) { LocalMember copy = (LocalMember)accessPeer; return copy; } return this; } /** * May inline copies of all the arguments of the given method. */ static public LocalMember[] copyArguments(Context ctx, MemberDefinition field) { Vector<MemberDefinition> v = field.getArguments(); LocalMember res[] = new LocalMember[v.size()]; v.copyInto(res); for (int i = 0; i < res.length; i++) { res[i] = res[i].copyInline(ctx); } return res; } /** * Call this when finished with the result of a copyArguments() call. */ static public void doneWithArguments(Context ctx, LocalMember res[]) { for (int i = 0; i < res.length; i++) { if (res[i].originalOfCopy.accessPeer == res[i]) { res[i].originalOfCopy.accessPeer = null; } } } /** * Is this local variable's value stable and simple enough to be directly * substituted for occurrences of the variable itself? * (This decision is made by VarDeclarationStatement.inline().) */ public boolean isInlineable(Environment env, boolean fromFinal) { return (getModifiers() & M_INLINEABLE) != 0; } /** * Check if used */ public boolean isUsed() { return (readcount != 0) || (writecount != 0); } // Used by class Context, only on members of MemberDefinition.available: LocalMember getAccessVar() { return (LocalMember)accessPeer; } void setAccessVar(LocalMember f) { accessPeer = f; } // Used by class Context, only on "AccessVar" constructor args MemberDefinition getAccessVarMember() { return accessPeer; } void setAccessVarMember(MemberDefinition f) { accessPeer = f; } /** * Return value */ public Node getValue(Environment env) { return (Expression)getValue(); } /** * Value number for vsets, or -1 if none. */ public int getNumber(Context ctx) { return number; } }
⏎ sun/tools/tree/LocalMember.java
Or download all of them as a single archive file:
File name: jdk.rmic-11.0.1-src.zip File size: 418901 bytes Release date: 2018-11-04 Download
⇒ JDK 11 jdk.scripting.nashorn.jmod - Scripting Nashorn Module
2020-04-25, 45631👍, 0💬
Popular Posts:
The Java Naming and Directory Interface (JNDI) is part of the Java platform, providing applications ...
What Is ojdbc7.jar for Oracle 12c R1? ojdbc7.jar for Oracle 12c R1 is the JAR files of ojdbc.jar, JD...
How to run "jarsigner" command from JDK tools.jar file? "jarsigner" command allows you to digitally ...
Apache Neethi provides general framework for the programmers to use WS Policy. It is compliant with ...
Apache Commons Codec library provides implementations of common encoders and decoders such as Base64...