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 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/jdi/Location.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.jdi; import com.sun.jdi.event.BreakpointEvent; import com.sun.jdi.event.ExceptionEvent; import com.sun.jdi.request.EventRequestManager; /** * A point within the executing code of the target VM. * Locations are used to identify the current position of * a suspended thread (analogous to an instruction pointer or * program counter register in native programs). They are also used * to identify the position at which to set a breakpoint. * <p> * The availability of a line number for a location will * depend on the level of debugging information available from the * target VM. * <p> * Several mirror interfaces have locations. Each such mirror * extends a {@link Locatable} interface. * <p> * <a id="strata"><b>Strata</b></a> * <p> * The source information for a Location is dependent on the * <i>stratum</i> which is used. A stratum is a source code * level within a sequence of translations. For example, * say the baz program is written in the programming language * "Foo" then translated to the language "Bar" and finally * translated into the Java programming language. The * Java programming language stratum is named * <code>"Java"</code>, let's say the other strata are named * "Foo" and "Bar". A given location (as viewed by the * {@link #sourceName()} and {@link #lineNumber()} methods) * might be at line 14 of "baz.foo" in the <code>"Foo"</code> * stratum, line 23 of "baz.bar" in the <code>"Bar"</code> * stratum and line 71 of the <code>"Java"</code> stratum. * Note that while the Java programming language may have * only one source file for a reference type, this restriction * does not apply to other strata - thus each Location should * be consulted to determine its source path. * Queries which do not specify a stratum * ({@link #sourceName()}, {@link #sourcePath()} and * {@link #lineNumber()}) use the VM's default stratum * ({@link VirtualMachine#getDefaultStratum()}). * If the specified stratum (whether explicitly specified * by a method parameter or implicitly as the VM's default) * is <code>null</code> or is not available in the declaring * type, the declaring type's default stratum is used * ({@link #declaringType()}.{@link ReferenceType#defaultStratum() * defaultStratum()}). Note that in the normal case, of code * that originates as Java programming language source, there * will be only one stratum (<code>"Java"</code>) and it will be * returned as the default. To determine the available strata * use {@link ReferenceType#availableStrata()}. * * @see EventRequestManager * @see StackFrame * @see BreakpointEvent * @see ExceptionEvent * @see Locatable * * @author Robert Field * @author Gordon Hirsch * @author James McIlree * @since 1.3 */ public interface Location extends Mirror, Comparable<Location> { /** * Gets the type to which this Location belongs. Normally * the declaring type is a {@link ClassType}, but executable * locations also may exist within the static initializer of an * {@link InterfaceType}. * * @return the {@link ReferenceType} containing this Location. */ ReferenceType declaringType(); /** * Gets the method containing this Location. * * @return the location's {@link Method}. */ Method method(); /** * Gets the code position within this location's method. * * @return the long representing the position within the method * or -1 if location is within a native method. */ long codeIndex(); /** * Gets an identifing name for the source corresponding to * this location. * <P> * This method is equivalent to * <code>sourceName(vm.getDefaultStratum())</code> - * see {@link #sourceName(String)} * for more information. * * @return a string specifying the source * @throws AbsentInformationException if the source name is not * known */ String sourceName() throws AbsentInformationException; /** * Gets an identifing name for the source corresponding to * this location. Interpretation of this string is the * responsibility of the source repository mechanism. * <P> * Returned name is for the specified <i>stratum</i> * (see the {@link Location class comment} for a * description of strata). * <P> * The returned string is the unqualified name of the source * file for this Location. For example, * <CODE>java.lang.Thread</CODE> would return * <CODE>"Thread.java"</CODE>. * * @param stratum The stratum to retrieve information from * or <code>null</code> for the declaring type's * default stratum. * * @return a string specifying the source * * @throws AbsentInformationException if the source name is not * known * * @since 1.4 */ String sourceName(String stratum) throws AbsentInformationException; /** * Gets the path to the source corresponding to this * location. * <P> * This method is equivalent to * <code>sourcePath(vm.getDefaultStratum())</code> - * see {@link #sourcePath(String)} * for more information. * * @return a string specifying the source * * @throws AbsentInformationException if the source name is not * known */ String sourcePath() throws AbsentInformationException; /** * Gets the path to the source corresponding to this * location. Interpretation of this string is the * responsibility of the source repository mechanism. * <P> * Returned path is for the specified <i>stratum</i> * (see the {@link Location class comment} for a * description of strata). * <P> * In the reference implementation, for strata which * do not explicitly specify source path (the Java * programming language stratum never does), the returned * string is the package name of {@link #declaringType()} * converted to a platform dependent path followed by the * unqualified name of the source file for this Location * ({@link #sourceName sourceName(stratum)}). * For example, on a * Windows platform, <CODE>java.lang.Thread</CODE> * would return * <CODE>"java\lang\Thread.java"</CODE>. * * @param stratum The stratum to retrieve information from * or <code>null</code> for the declaring type's * default stratum. * * @return a string specifying the source * * @throws AbsentInformationException if the source name is not * known * * @since 1.4 */ String sourcePath(String stratum) throws AbsentInformationException; /** * Gets the line number of this Location. * <P> * This method is equivalent to * <code>lineNumber(vm.getDefaultStratum())</code> - * see {@link #lineNumber(String)} * for more information. * * @return an int specifying the line in the source, returns * -1 if the information is not available; specifically, always * returns -1 for native methods. */ int lineNumber(); /** * The line number of this Location. The line number is * relative to the source specified by * {@link #sourceName(String) sourceName(stratum)}. * <P> * Returned line number is for the specified <i>stratum</i> * (see the {@link Location class comment} for a * description of strata). * * @param stratum The stratum to retrieve information from * or <code>null</code> for the declaring type's * default stratum. * * @return an int specifying the line in the source, returns * -1 if the information is not available; specifically, always * returns -1 for native methods. * * @since 1.4 */ int lineNumber(String stratum); /** * Compares the specified Object with this Location for equality. * * @return true if the Object is a Location and if it refers to * the same point in the same VM as this Location. */ boolean equals(Object obj); /** * Returns the hash code value for this Location. * * @return the integer hash code */ int hashCode(); }
⏎ com/sun/jdi/Location.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, 13970👍, 0💬
Popular Posts:
JDK 11 java.rmi.jmod is the JMOD file for JDK 11 RMI (Remote Method Invocation) module. JDK 11 RMI m...
What Is HttpComponents httpcore-4.4.6.jar? HttpComponents httpcore-4.4.6.jar is the JAR file for Apa...
The Jakarta-ORO Java classes are a set of text-processing Java classes that provide Perl5 compatible...
HttpComponents Client Source Code Files are provided in the source package file, httpcomponents-clie...
JDK 11 jdk.hotspot.agent.jmod is the JMOD file for JDK 11 Hotspot Agent module. JDK 11 Hotspot Agent...