redhat-developer / redhat-developer/vscode-java

The package java.util.concurrent is accessible from more than one module: <unnamed>, java.base

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

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

主要言語
TypeScript
スター
2.3k
フォーク
547
平均マージ
20時間 1分
マージ済み PR(30日)
11

説明

[provide a description of the issue]

Environment
  • Operating System: Win11
  • JDK version: openjdk 11.0.19 2023-04-18
  • Visual Studio Code version: 1.85.2
  • Java extension version: 1.28.1
Steps To Reproduce
  1. [step 1]
    there are .classpath and .project file in my project, just open this project.
  2. [step 2]
    then I get following issues
    The package java.net is accessible from more than one module: , java.base
    The package java.util is accessible from more than one module: , java.base
    The package java.io is accessible from more than one module: , java.base

Since this project code is confidential, so I can not provide any logs or source code.
[Please attach a sample project reproducing the error]
Please attach logs

Current Result
Expected Result
Additional Informations

if I set java.jdt.ls.java.home to jdk8, the issue disappeared.
I have already searched other similar issues in jdt.ls github web site, it seems that this issue has been fixed, but on myside issue still exist.
Also I get another issue "The declared package "com.android.car.camera.dvr" does not match the expected package "src.com.android.car.camera.dvr", is there any way to disable this notification?

If I use andriod stutio, all above issues disappeared. I want to use vscode,remote-ssh,redhat.java stronglly because it's very convenience for me.

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

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

はじめの一歩

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

調査の方向性

まずプロジェクトの .classpath と .project ファイルを調査し、JDK 11、VS Code 1.85.2、Java 拡張機能 1.28.1 で診断を再現します。JDK 8 での動作と比較し、ログまたは最小限のサンプルプロジェクトを収集します。完了条件は、java.base のパッケージが重複する理由と、package-path の通知を設定できるかどうかを特定することです。

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

評価

技術スタック
java, vscode
領域
developer-experience, tooling
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
20/100

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

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