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 17 jdk.jdi.jmod - JDI Tool
JDK 17 jdk.jdi.jmod is the JMOD file for JDK 17 JDI (Java Debug Interface) tool.
JDK 17 JDI tool compiled class files are stored in \fyicenter\jdk-17.0.5\jmods\jdk.jdi.jmod.
JDK 17 JDI tool compiled class files are also linked and stored in the \fyicenter\jdk-17.0.5\lib\modules JImage file.
JDK 17 JDI tool source code files are stored in \fyicenter\jdk-17.0.5\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/SocketAttachingConnector.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.io.IOException;
import java.util.Map;
import com.sun.jdi.VirtualMachine;
import com.sun.jdi.connect.Connector;
import com.sun.jdi.connect.IllegalConnectorArgumentsException;
import com.sun.jdi.connect.Transport;
/*
* An AttachingConnector that uses the SocketTransportService
*/
public class SocketAttachingConnector extends GenericAttachingConnector {
static final String ARG_PORT = "port";
static final String ARG_HOST = "hostname";
public SocketAttachingConnector() {
super(new SocketTransportService());
String defaultHostName = "localhost";
addStringArgument(
ARG_HOST,
getString("socket_attaching.host.label"),
getString("socket_attaching.host"),
defaultHostName,
false);
addIntegerArgument(
ARG_PORT,
getString("socket_attaching.port.label"),
getString("socket_attaching.port"),
"",
true,
0, Integer.MAX_VALUE);
transport = new Transport() {
public String name() {
return "dt_socket"; // for compatibility reasons
}
};
}
/*
* Create an "address" from the hostname and port connector
* arguments and attach to the target VM.
*/
public VirtualMachine
attach(Map<String, ? extends Connector.Argument> arguments)
throws IOException, IllegalConnectorArgumentsException
{
String host = argument(ARG_HOST, arguments).value();
if (host.length() > 0) {
host = host + ":";
}
String address = host + argument(ARG_PORT, arguments).value();
return super.attach(address, arguments);
}
public String name() {
return "com.sun.jdi.SocketAttach";
}
public String description() {
return getString("socket_attaching.description");
}
}
⏎ com/sun/tools/jdi/SocketAttachingConnector.java
Or download all of them as a single archive file:
File name: jdk.jdi-17.0.5-src.zip File size: 476972 bytes Release date: 2022-09-13 Download
⇒ JDK 17 jdk.jdwp.agent.jmod - JDWP Agent Module
2023-04-17, ≈59🔥, 0💬
Popular Posts:
ZooKeeper is a centralized service for maintaining configuration information, naming, providing dist...
How to perform XML Schema validation with sax\Writer.java provided in the Apache Xerces package? You...
What Is poi-scratchpad-3.5.jar? poi-scratchpad-3.5.jar is one of the JAR files for Apache POI 3.5, w...
What is the dom\GetElementsByTagName .javaprovided in the Apache Xerces package? I have Apache Xerce...
JDK 8 tools.jar is the JAR file for JDK 8 tools. It contains Java classes to support different JDK t...