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:
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/java/BinaryCode.java
/*
* Copyright (c) 1995, 2003, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package sun.tools.java;
import java.io.*;
/**
* 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 BinaryCode implements Constants {
int maxStack; // maximum stack used by code
int maxLocals; // maximum locals used by code
BinaryExceptionHandler exceptionHandlers[];
BinaryAttribute atts; // code attributes
BinaryConstantPool cpool; // constant pool of the class
byte code[]; // the byte code
/**
* Construct the binary code from the code attribute
*/
public
BinaryCode(byte data[], BinaryConstantPool cpool, Environment env) {
DataInputStream in = new DataInputStream(new ByteArrayInputStream(data));
try {
this.cpool = cpool;
// JVM 4.7.4 CodeAttribute.max_stack
this.maxStack = in.readUnsignedShort();
// JVM 4.7.4 CodeAttribute.max_locals
this.maxLocals = in.readUnsignedShort();
// JVM 4.7.4 CodeAttribute.code_length
int code_length = in.readInt();
this.code = new byte[code_length];
// JVM 4.7.4 CodeAttribute.code[]
in.read(this.code);
// JVM 4.7.4 CodeAttribute.exception_table_length
int exception_count = in.readUnsignedShort();
this.exceptionHandlers = new BinaryExceptionHandler[exception_count];
for (int i = 0; i < exception_count; i++) {
// JVM 4.7.4 CodeAttribute.exception_table.start_pc
int start = in.readUnsignedShort();
// JVM 4.7.4 CodeAttribute.exception_table.end_pc
int end = in.readUnsignedShort();
// JVM 4.7.4 CodeAttribute.exception_table.handler_pc
int handler = in.readUnsignedShort();
// JVM 4.7.4 CodeAttribute.exception_table.catch_type
ClassDeclaration xclass = cpool.getDeclaration(env, in.readUnsignedShort());
this.exceptionHandlers[i] =
new BinaryExceptionHandler(start, end, handler, xclass);
}
this.atts = BinaryAttribute.load(in, cpool, ~0);
if (in.available() != 0) {
System.err.println("Should have exhausted input stream!");
}
} catch (IOException e) {
throw new CompilerError(e);
}
}
/**
* Accessors
*/
public BinaryExceptionHandler getExceptionHandlers()[] {
return exceptionHandlers;
}
public byte getCode()[] { return code; }
public int getMaxStack() { return maxStack; }
public int getMaxLocals() { return maxLocals; }
public BinaryAttribute getAttributes() { return atts; }
/**
* Load a binary class
*/
public static
BinaryCode load(BinaryMember bf, BinaryConstantPool cpool, Environment env) {
byte code[] = bf.getAttribute(idCode);
return (code != null) ? new BinaryCode(code, cpool, env) : null;
}
}
⏎ sun/tools/java/BinaryCode.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, ≈103🔥, 0💬
Popular Posts:
How to download and install mysql-connector-j-8.0.31 .zip?Connector/J Java library is a JDBC Driver ...
What Is HttpComponents commons-httpclient-3.1.j ar?HttpComponents commons-httpclient-3.1.j aris the ...
JDK 11 jdk.internal.vm.compiler .jmodis the JMOD file for JDK 11 Internal VM Compiler module. JDK 11...
Apache Log4j 1.2 Bridge allows applications coded to use Log4j 1.2 API to use Log4j 2 instead. Bytec...
JDK 17 jdk.incubator.foreign.jm odis the JMOD file for JDK 17 HTTP Server module. JDK 17 Incubator F...