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.jdi.jmod - JDI Tool
JDK 11 jdk.jdi.jmod is the JMOD file for JDK 11 JDI (Java Debug Interface) tool.
JDK 11 JDI tool compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\jdk.jdi.jmod.
JDK 11 JDI tool compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 JDI tool source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\jdk.jdi.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ com/sun/tools/jdi/InterfaceTypeImpl.java
/* * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.tools.jdi; import java.lang.ref.SoftReference; import java.util.ArrayList; import java.util.Collections; import java.util.List; import com.sun.jdi.ClassType; import com.sun.jdi.InterfaceType; import com.sun.jdi.Method; import com.sun.jdi.ReferenceType; import com.sun.jdi.VirtualMachine; final public class InterfaceTypeImpl extends InvokableTypeImpl implements InterfaceType { private static class IResult implements InvocationResult { final private JDWP.InterfaceType.InvokeMethod rslt; public IResult(JDWP.InterfaceType.InvokeMethod rslt) { this.rslt = rslt; } @Override public ObjectReferenceImpl getException() { return rslt.exception; } @Override public ValueImpl getResult() { return rslt.returnValue; } } private SoftReference<List<InterfaceType>> superinterfacesRef = null; protected InterfaceTypeImpl(VirtualMachine aVm,long aRef) { super(aVm, aRef); } public List<InterfaceType> superinterfaces() { List<InterfaceType> superinterfaces = (superinterfacesRef == null) ? null : superinterfacesRef.get(); if (superinterfaces == null) { superinterfaces = getInterfaces(); superinterfaces = Collections.unmodifiableList(superinterfaces); superinterfacesRef = new SoftReference<List<InterfaceType>>(superinterfaces); } return superinterfaces; } public List<InterfaceType> subinterfaces() { List<InterfaceType> subs = new ArrayList<InterfaceType>(); for (ReferenceType refType : vm.allClasses()) { if (refType instanceof InterfaceType) { InterfaceType interfaze = (InterfaceType)refType; if (interfaze.isPrepared() && interfaze.superinterfaces().contains(this)) { subs.add(interfaze); } } } return subs; } public List<ClassType> implementors() { List<ClassType> implementors = new ArrayList<ClassType>(); for (ReferenceType refType : vm.allClasses()) { if (refType instanceof ClassType) { ClassType clazz = (ClassType)refType; if (clazz.isPrepared() && clazz.interfaces().contains(this)) { implementors.add(clazz); } } } return implementors; } public boolean isInitialized() { return isPrepared(); } public String toString() { return "interface " + name() + " (" + loaderString() + ")"; } @Override InvocationResult waitForReply(PacketStream stream) throws JDWPException { return new IResult(JDWP.InterfaceType.InvokeMethod.waitForReply(vm, stream)); } @Override CommandSender getInvokeMethodSender(final ThreadReferenceImpl thread, final MethodImpl method, final ValueImpl[] args, final int options) { return () -> JDWP.InterfaceType.InvokeMethod.enqueueCommand(vm, InterfaceTypeImpl.this, thread, method.ref(), args, options); } @Override ClassType superclass() { return null; } @Override boolean isAssignableTo(ReferenceType type) { if (type.name().equals("java.lang.Object")) { // interfaces are always assignable to j.l.Object return true; } return super.isAssignableTo(type); } @Override List<InterfaceType> interfaces() { return superinterfaces(); } @Override boolean canInvoke(Method method) { // method must be directly in this interface return this.equals(method.declaringType()); } }
⏎ com/sun/tools/jdi/InterfaceTypeImpl.java
Or download all of them as a single archive file:
File name: jdk.jdi-11.0.1-src.zip File size: 464844 bytes Release date: 2018-11-04 Download
⇒ JDK 11 jdk.jdwp.agent.jmod - JDWP Agent Module
2020-07-07, ≈84🔥, 0💬
Popular Posts:
How to download and install ojdbc6.jar for Oracle 11g R2? ojdbc6.jar for Oracle 11g R2 is a Java 6, ...
commons-io-1.4.jar is the JAR file for Commons IO 1.4, which is a library of utilities to assist wit...
iText is an ideal library for developers looking to enhance web- and other applications with dynamic...
What Is ojdbc8.jar for Oracle 12c R2? ojdbc8.jar for Oracle 12c R2 is the JAR files of ojdbc.jar, JD...
JDK 11 jdk.hotspot.agent.jmod is the JMOD file for JDK 11 Hotspot Agent module. JDK 11 Hotspot Agent...