eclipse-jdt / eclipse-jdt/eclipse.jdt.ui

Unexpected dialog for classpath/modulepath modifications when library is added to classpath of java project

Open
#1,765 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
59
Forks
127
Avg merge
23h 30m
Merged PRs (30d)
35

Description

Used Platform:
Eclipse IDE for Java Developers
Version: 2024-06 (4.32.0)

Steps to reproduce:

Start "New Java Project" wizard.
Give the project a name.
Click Next and go to "Libraries" tab.
Select "Classpath" and click "Add Library..."
Add a library to the classpath of the project (I have added JUnit but it could be any).
Finish wizard.
Open the properties of the newly created project.
Go to "Java Build Path".
Select "Libraries" tab.

Now each time another option is selected from the properties, unexpected dialog is shown although there are no changes in the modluepath/classpath.

![image](https://github.com/user-attachments/assets/57f81921-2119-49f4-8996-3b0984a320fc)

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in Eclipse IDE for Java Developers 2024-06 by creating a New Java Project, adding JUnit or another library to the classpath, and opening Java Build Path > Libraries. Check the behavior when selecting other property options; done means no unexpected classpath/modulepath modification dialog appears when there are no changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.