Skip to content

Commit d6f08d7

Browse files
authored
Merge branch 'main' into 608_suspend_modes
2 parents d21110e + 6ff8465 commit d6f08d7

File tree

10 files changed

+433
-313
lines changed

10 files changed

+433
-313
lines changed

.mvn/wrapper/maven-wrapper.jar

-46.7 KB
Binary file not shown.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.3/apache-maven-3.9.3-bin.zip
1+
distributionType=only-script
2+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.11/apache-maven-3.9.11-bin.zip

com.microsoft.java.debug.core/.classpath

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<attribute name="test" value="true"/>
1414
</attributes>
1515
</classpathentry>
16-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11">
16+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-21">
1717
<attributes>
1818
<attribute name="maven.pomderived" value="true"/>
1919
</attributes>

com.microsoft.java.debug.core/src/main/java/com/microsoft/java/debug/core/adapter/handler/StackTraceRequestHandler.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,10 @@ private Types.StackFrame convertDebuggerStackFrameToClient(StackFrameInfo jdiFra
220220
} else {
221221
// For other unavailable method, such as lambda expression's built-in methods run/accept/apply,
222222
// display "Unknown Source" in the Call Stack View.
223-
clientSource = null;
223+
clientSource = new Types.Source("Unknown Source", "unknown", 0);
224224
}
225+
// DAP specifies lineNumber to be set to 0 when unavailable
226+
clientLineNumber = 0;
225227
} else if (DebugSettings.getCurrent().debugSupportOnDecompiledSource == Switch.ON
226228
&& clientSource != null && clientSource.path != null) {
227229
// Align the original line with the decompiled line.

com.microsoft.java.debug.plugin/.classpath

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<classpath>
3-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11">
3+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-21">
44
<attributes>
55
<attribute name="module" value="true"/>
66
<attribute name="limit-modules" value="java.base,java.logging,java.xml,jdk.jdi,java.compiler"/>

com.microsoft.java.debug.plugin/META-INF/MANIFEST.MF

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Bundle-ManifestVersion: 2
33
Bundle-Name: Java Debug Server Plugin
44
Bundle-SymbolicName: com.microsoft.java.debug.plugin;singleton:=true
55
Bundle-Version: 0.53.2
6-
Bundle-RequiredExecutionEnvironment: JavaSE-11
6+
Bundle-RequiredExecutionEnvironment: JavaSE-21
77
Bundle-ActivationPolicy: lazy
88
Bundle-Activator: com.microsoft.java.debug.plugin.internal.JavaDebuggerServerPlugin
99
Bundle-Vendor: Microsoft

com.microsoft.java.debug.target/com.microsoft.java.debug.tp.target

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?xml version="1.0" encoding="UTF-8" standalone="no"?><?pde version="3.8"?><target name="Java Debug" sequenceNumber="39">
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<?pde version="3.8"?>
3+
<target name="Java Debug" sequenceNumber="40">
24
<locations>
35
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
46
<unit id="org.eclipse.platform.feature.group" version="0.0.0"/>
@@ -14,4 +16,5 @@
1416
<repository location="https://download.eclipse.org/jdtls/snapshots/repository/latest"/>
1517
</location>
1618
</locations>
19+
<targetJRE path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-21"/>
1720
</target>

0 commit comments

Comments
 (0)