Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: sorteam/java-debug
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: microsoft/java-debug
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 20 commits
  • 44 files changed
  • 8 contributors

Commits on Sep 5, 2026

  1. Bump actions/setup-java from 5.7.0 to 6.0.0 in the github-actions gro…

    …up (microsoft#634)
    
    Bumps the github-actions group with 1 update: [actions/setup-java](https://github.com/actions/setup-java).
    
    
    Updates `actions/setup-java` from 5.7.0 to 6.0.0
    - [Release notes](https://github.com/actions/setup-java/releases)
    - [Commits](actions/setup-java@b6effb0...dd06d9c)
    
    ---
    updated-dependencies:
    - dependency-name: actions/setup-java
      dependency-version: 6.0.0
      dependency-type: direct:production
      update-type: version-update:semver-major
      dependency-group: github-actions
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Sep 5, 2026
    Configuration menu
    Copy the full SHA
    d532902 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2026

  1. Onboard Java Debug Server to IssueLens (microsoft#635)

    * Onboard Java Debug Server to IssueLens
    
    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    
    * Clarify team-memory App permission boundaries
    
    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    
    ---------
    
    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    chagong and Copilot authored Sep 18, 2026
    Configuration menu
    Copy the full SHA
    7a625c6 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2026

  1. Bump actions/setup-java from 6.0.0 to 6.0.1 in the github-actions gro…

    …up (microsoft#636)
    
    Bumps the github-actions group with 1 update: [actions/setup-java](https://github.com/actions/setup-java).
    
    
    Updates `actions/setup-java` from 6.0.0 to 6.0.1
    - [Release notes](https://github.com/actions/setup-java/releases)
    - [Commits](actions/setup-java@dd06d9c...de7274f)
    
    ---
    updated-dependencies:
    - dependency-name: actions/setup-java
      dependency-version: 6.0.1
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: github-actions
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Sep 19, 2026
    Configuration menu
    Copy the full SHA
    b5be02b View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2026

  1. Use push events for IssueLens team memory (microsoft#637)

    Use default-branch push events with the pinned shared IssueLens action, per-push concurrency, and manual dispatch recovery.
    
    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    chagong and Copilot authored Sep 23, 2026
    Configuration menu
    Copy the full SHA
    1ed7ca8 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2026

  1. perf: Find main classes in projects whose sources are linked in (micr…

    …osoft#633)
    
    * Find main classes in projects whose sources are linked in
    
    resolveMainClassUnderPaths keeps a project only when its own location is
    inside the requested folder. A project can instead keep its description
    outside the folder and reach the sources through linked folders, and
    then it is dropped before the search runs: the folder appears to contain
    no main class, so the Run and Debug view generates no configuration and
    the Spring Boot Dashboard cannot resolve an application's main class.
    
    The accept-match branch already makes an exception for the invisible
    project, which is one instance of this shape (a single link named after
    ProjectUtils.WORKSPACE_LINK); the scope filter it depends on does not,
    so that exception can never fire. Check the locations of the project's
    source folders in both places instead.
    
    * Answer a folder with the matches that are inside it
    
    A project brought into the search by its source folders can link them in from more than one
    workspace folder, and accepting every match by the project alone then answers one folder with the
    main classes of another. Check where the match itself is as well.
    
    The project checks stay in front of it: a caller can ask with a project's own location rather than
    with a workspace folder, and for a project whose description lives outside of the workspace folders
    no match is contained in that location.
    sorteam authored Oct 8, 2026
    Configuration menu
    Copy the full SHA
    bcae605 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2026

  1. ci: queue team-memory maintenance through Java Pack (microsoft#638)

    Route team-memory updates through the Java Pack coordinator. Workflow-only change; preserve source opt-in and scoped dispatch safeguards.
    
    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    chagong and Copilot authored Oct 10, 2026
    Configuration menu
    Copy the full SHA
    ebbe6db View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2026

  1. ci: use built-in token for team-memory caller (microsoft#639)

    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    chagong and Copilot authored Oct 12, 2026
    Configuration menu
    Copy the full SHA
    cf2a72b View commit details
    Browse the repository at this point in the history
  2. Revert "ci: use built-in token for team-memory caller (microsoft#639)" (

    microsoft#640)
    
    This reverts commit cf2a72b.
    
    Restore scoped GitHub App authentication for cross-repository dispatch to microsoft/vscode-java-pack. The source repository GITHUB_TOKEN cannot write Actions in the target repository.
    
    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    chagong and Copilot authored Oct 12, 2026
    Configuration menu
    Copy the full SHA
    6a597f2 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2026

  1. ci: update IssueLens triage action timeout (microsoft#641)

    Update the IssueLens triage action pin to a81d2d96167fc0e69ac631c2edc85f858e693289 for the five-minute stream inactivity timeout.
    
    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    chagong and Copilot authored Oct 15, 2026
    Configuration menu
    Copy the full SHA
    d1548fc View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2026

  1. Use IssueLens main action (microsoft#642)

    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    chagong and Copilot authored Oct 19, 2026
    Configuration menu
    Copy the full SHA
    4576349 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2026

  1. Remove deprecated triage workflows (microsoft#643)

    Co-authored-by: chagong <831821+chagong@users.noreply.github.com>
    Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
    3 people authored Oct 20, 2026
    Configuration menu
    Copy the full SHA
    e5f37d4 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2026

  1. Bump the github-actions group with 2 updates (microsoft#644)

    Bumps the github-actions group with 2 updates: [actions/setup-java](https://github.com/actions/setup-java) and [actions/create-github-app-token](https://github.com/actions/create-github-app-token).
    
    
    Updates `actions/setup-java` from 6.0.1 to 6.1.0
    - [Release notes](https://github.com/actions/setup-java/releases)
    - [Commits](actions/setup-java@de7274f...b843ebf)
    
    Updates `actions/create-github-app-token` from 3.2.0 to 3.3.0
    - [Release notes](https://github.com/actions/create-github-app-token/releases)
    - [Changelog](https://github.com/actions/create-github-app-token/blob/main/CHANGELOG.md)
    - [Commits](actions/create-github-app-token@bcd2ba4...64ab729)
    
    ---
    updated-dependencies:
    - dependency-name: actions/setup-java
      dependency-version: 6.1.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: github-actions
    - dependency-name: actions/create-github-app-token
      dependency-version: 3.3.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: github-actions
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Oct 24, 2026
    Configuration menu
    Copy the full SHA
    733899f View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2026

  1. feat: support DAP terminate requests (microsoft#645)

    * Add DAP terminate request support
    
    * Resume suspended VM before terminate
    wenytang-ms authored Oct 26, 2026
    Configuration menu
    Copy the full SHA
    90fdfe8 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2026

  1. ci: pin IssueLens actions to immutable commit (microsoft#646)

    Pin mutable IssueLens action references to immutable commit c431d42dddf4e6bf20329b0ac96dbd8a4bf04006, preserving existing SHA pins and workflow configuration.
    
    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    chagong and Copilot authored Oct 28, 2026
    Configuration menu
    Copy the full SHA
    89e59b7 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2026

  1. fix: honor source encodings when resolving breakpoints (microsoft#647)

    * fix: honor source encodings when resolving breakpoints
    
    Use Eclipse resource decoding for workspace files and BOM-aware decoding for external sources. Exercise breakpoint class-name resolution with UTF-16, UTF-8, and configured resource charsets in headless JDT tests.
    
    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    
    Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
    
    * docs: keep encoding fix notes out of public README
    
    Restore README.md to the PR base without changing the source-encoding fix or regression tests. Keep contributor-facing verification and implementation rationale in the PR description because there is no suitable existing contributor guide.
    
    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    
    Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
    
    ---------
    
    Co-authored-by: chagong <831821+chagong@users.noreply.github.com>
    Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
    3 people authored Oct 29, 2026
    Configuration menu
    Copy the full SHA
    a658059 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2026

  1. Fix hot code replacement event order (microsoft#648)

    Co-authored-by: Harsh <313093191+Mr-KnightCLI@users.noreply.github.com>
    Mr-KnightCLI and Mr-KnightCLI authored Nov 2, 2026
    Configuration menu
    Copy the full SHA
    7d62d35 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2026

  1. Bump actions/setup-java from 6.1.0 to 6.2.0 in the github-actions gro…

    …up (microsoft#650)
    
    Bumps the github-actions group with 1 update: [actions/setup-java](https://github.com/actions/setup-java).
    
    
    Updates `actions/setup-java` from 6.1.0 to 6.2.0
    - [Release notes](https://github.com/actions/setup-java/releases)
    - [Commits](actions/setup-java@b843ebf...77dd5b2)
    
    ---
    updated-dependencies:
    - dependency-name: actions/setup-java
      dependency-version: 6.2.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: github-actions
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Nov 14, 2026
    Configuration menu
    Copy the full SHA
    c95a52b View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2026

  1. ci: route IssueLens workflows through bridge (microsoft#651)

    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    chagong and Copilot authored Nov 27, 2026
    Configuration menu
    Copy the full SHA
    5cfcfcf View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2026

  1. Bump the github-actions group with 2 updates (microsoft#652)

    Bumps the github-actions group with 2 updates: [actions/setup-java](https://github.com/actions/setup-java) and [actions/create-github-app-token](https://github.com/actions/create-github-app-token).
    
    
    Updates `actions/setup-java` from 6.2.0 to 6.3.0
    - [Release notes](https://github.com/actions/setup-java/releases)
    - [Commits](actions/setup-java@77dd5b2...d1374f8)
    
    Updates `actions/create-github-app-token` from 3.3.0 to 3.4.0
    - [Release notes](https://github.com/actions/create-github-app-token/releases)
    - [Changelog](https://github.com/actions/create-github-app-token/blob/main/CHANGELOG.md)
    - [Commits](actions/create-github-app-token@64ab729...f418cff)
    
    ---
    updated-dependencies:
    - dependency-name: actions/setup-java
      dependency-version: 6.3.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: github-actions
    - dependency-name: actions/create-github-app-token
      dependency-version: 3.4.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: github-actions
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Nov 30, 2026
    Configuration menu
    Copy the full SHA
    f29e011 View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2026

  1. fix: harden debug session loopback binding, auth handshake, and DAP f…

    …raming (microsoft#653)
    
    * fix: harden debug session loopback binding, auth handshake, and DAP framing
    
    - Replace the shared wildcard debug server socket with per-session loopback
      (127.0.0.1) server sockets, a 256-bit JavaDebug-Auth handshake with
      constant-time verification, single-client socket closure, and an unused
      session timeout reaper (protocolVersion >= 2 via startDebugSession).
    - Enforce initialize lifecycle gating in DebugAdapter before request
      argument deserialization, guard AttachRequestHandler against uninitialized
      contexts, and prevent self-PID termination in DebuggeeProcessHelper.
    - Slice inbound Content-Length frames by UTF-8 byte length rather than UTF-16
      character count in AbstractProtocolServer, with header and body size bounds.
    - Bind JDI launch listening sockets strictly to 127.0.0.1 via
      LoopbackSocketListeningConnector with debugger-first JDWP-Handshake
      validation and guaranteed stopListening cleanup across launch error paths.
    - Add unit and OSGi end-to-end regression tests covering authentication,
      framing, initialization gating, loopback JDI listening, launch,
    oDebug,
      and �ttach flows.
    
    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    
    * test: handle TCP reset when server closes rejected sockets on macOS
    
    On BSD/macOS kernels, closing a socket while unread client bytes remain in
    SO_RCVBUF sends a TCP RST (SocketException: Connection reset) rather than a
    FIN (-1 EOF). Accept either EOF or SocketException after connect when verifying
    that unauthenticated or invalid-token sockets are closed without emitting any
    DAP response.
    
    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    
    * fix: bound JDWP packet length, handshake deadline, and rejected listener cleanup
    
    - Enforce an upper JDWP packet-size bound (64 MiB default) in
      LoopbackSocketConnection.readPacket() and close the connection before
      allocating oversized buffers.
    - Enforce an absolute wall-clock deadline across performJdwpHandshake() reads
      so slow-drip peers cannot stretch per-read SO_TIMEOUT.
    - Remove and close session listeners when executor submission throws in
      startDebugSession() and startLegacyLoopbackSession().
    
    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    
    * fix(plugin): isolate session pools, bound auth deadline, and serialize JDWP I/O
    
    Separate listener, handshake, and session worker pools with per-listener candidate permits, enforce an absolute authentication handshake deadline across reads, and serialize JDWP socket packet reads and writes while preserving mid-packet EOF errors.
    
    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    
    * fix(plugin): bound launch failure cleanup and async test javac drain
    
    Close the JDWP listener immediately on launch failure, drain debuggee stdout/stderr asynchronously with bounded timeouts while terminating the child process, and drain javac output asynchronously in end-to-end test compilation.
    
    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    
    * fix: complete launch future only from winning outcome handler
    
    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    
    * feat: add JDWP handshake usage telemetry and handshake timeout overrides
    
    Record structured `jdwp handshake` usage telemetry (`outcome`, `duration`, `timeoutMs`)
    inside `LoopbackSocketListeningConnector.performJdwpHandshake` and allow overriding
    the 5-second DAP and JDWP handshake timeouts via `java.debug.dap.handshakeTimeoutMs`
    and `java.debug.jdwp.handshakeTimeoutMs` system properties.
    
    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    
    ---------
    
    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    chagong and Copilot authored Dec 3, 2026
    Configuration menu
    Copy the full SHA
    0afe9fd View commit details
    Browse the repository at this point in the history
Loading