microsoft / microsoft/vscode-java-debug

Launching a Java class should not execute what is typed in the terminal

オープン
#1,439 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

ai-triaged bug external
主要言語
TypeScript
スター
591
フォーク
429
平均マージ
1日 9時間
マージ済み PR(30日)
19

説明

Type: Bug

If you type rm -rf something in the terminal and forget to press enter before launching a Java class, then your project is deleted.

image image

Expected:

The project should never be deleted, nor should anything typed in the terminal be executed

Extension version: 0.56.0
VS Code version: Code 1.86.1 (Universal) (31c37ee8f63491495ac49e43b8544550fbae4533, 2024-02-07T09:09:01.236Z)
OS version: Darwin arm64 23.3.0
Modes:

System Info
Item Value
CPUs Apple M1 Max (10 x 24)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) 25, 24, 28
Memory (System) 64.00GB (1.37GB free)
Process Argv --crash-reporter-id 3c06e13f-ed9a-4182-a8b6-41057b478757
Screen Reader no
VM 0%

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

ターミナルでEnterを押さずに破壊的なコマンドを入力し、その後 Java クラスを起動して、報告されたケースを再現します。クラスの起動がターミナル入力とどのように相互作用するかを追跡し、入力したコマンドが実行されず、プロジェクトファイルを削除することもできないことを確認します。リストに記載された VS Code と拡張機能のバージョンで動作を検証します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java, typescript
領域
devtools
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。