Skip to content

JavaClasspathTab.isDefaultClasspath fix for issue #979 - #987

Merged
SougandhS merged 1 commit into
eclipse-jdt:masterfrom
Greunlis:issue-979
Aug 30, 2026
Merged

JavaClasspathTab.isDefaultClasspath fix for issue #979#987
SougandhS merged 1 commit into
eclipse-jdt:masterfrom
Greunlis:issue-979

Conversation

@Greunlis

Copy link
Copy Markdown

Fix default classpath detection by comparing against the de-duplicated UI model instead of raw entries.

Fixes #979
JavaClasspathTabTests is included.

@SougandhS

Copy link
Copy Markdown
Member

Hi @Greunlis,
Thanks for the patch. Please sign ECA

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes issue #979 by comparing default classpaths against the UI’s de-duplicated model.

Changes:

  • Refactors classpath model creation to return a model.
  • Uses de-duplicated entries for default detection.
  • Adds regression tests and suite registration.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
JavaClasspathTab.java Updates default classpath comparison.
JavaClasspathTabTests.java Adds default and custom classpath tests.
AutomatedSuite.java Registers the new tests.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

@iloveeclipse

Copy link
Copy Markdown
Member

@Greunlis : could you please squash all commits to one and force push?

exported/not-exported ClassPathEntry eclipse-jdt#979

Fix default classpath detection by comparing against the de-duplicated
UI model instead of raw entries.

Fixes eclipse-jdt#979

Fix fModel initialization.

Fix javadoc

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Jakub Holotík <jholotik@ais.cz>
@SougandhS
SougandhS merged commit 191703d into eclipse-jdt:master Aug 30, 2026
13 checks passed
@SougandhS

Copy link
Copy Markdown
Member

Thanks @Greunlis !

@Greunlis
Greunlis deleted the issue-979 branch August 30, 2026 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

JavaClasspathTab.isDefaultClasspath returns wrong result when mixing exported/not-exported ClassPathEntry

4 participants