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, ≈61🔥, 0💬
Popular Posts:
If you are a Java developer, it is very often that you need to use some 3rd party libraries to perfo...
JDK 11 jdk.compiler.jmod is the JMOD file for JDK 11 Compiler tool, which can be invoked by the "jav...
How to perform XML Schema validation with dom\Writer.java provided in the Apache Xerces package? You...
What is jxl.jar 2.6.12? jxl.jar 2.6.12 is the JAR file for Java Excel API 2.6.12, which is a Java li...
JDOM provides a solution for using XML from Java that is as simple as Java itself. There is no compe...