Skip to content

[java] Fix #7081: Exception when auxClasspath is a file URL - #7085

Merged
adangel merged 2 commits into
pmd:mainfrom
adangel:java/issue-7081-auxclasspath-jrtfs
Sep 24, 2026
Merged

adangel merged 2 commits into
pmd:mainfrom
adangel:java/issue-7081-auxclasspath-jrtfs

Conversation

@adangel

@adangel adangel commented Sep 18, 2026

Copy link
Copy Markdown
Member

Describe the PR

Regression has been introduced with cb6e772 (#6859).
Solution is to first expand the given classpath (in case
it is a file: URL) and only after that add the platform
classpath, if it is needed.

Related issues

Ready?

  • Added unit tests for fixed bug/feature
  • Passing all unit tests
  • Complete build ./mvnw clean verify passes (checked automatically by github actions)
  • Added (in-code) documentation (if needed)

Regression has been introduced with cb6e772 (pmd#6859).
Solution is to first expand the given classpath (in case
it is a file: URL) and only after that add the platform
classpath, if it is needed.
@adangel adangel added this to the 7.28.0 milestone Sep 18, 2026
@pmd-actions-helper

Copy link
Copy Markdown
Contributor

Documentation Preview

Compared to main:
This changeset changes 0 violations,
introduces 0 new violations, 0 new errors and 0 new configuration errors,
removes 0 violations, 0 errors and 0 configuration errors.
There are 0 changed duplications, 0 new duplications and 0 removed duplications.
There are 0 changed CPD errors, 0 new CPD errors and 0 removed CPD errors.

Regression Tester Report

(comment created at 2026-09-18 08:42:00+00:00 for 17c0357)

@adangel
adangel merged commit cc0114a into pmd:main Sep 24, 2026
13 checks passed
@adangel
adangel deleted the java/issue-7081-auxclasspath-jrtfs branch September 24, 2026 09:04
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.

[java] NoSuchFileException when auxClasspath is given as a classpath file (file: URL) (since 7.27.0)

1 participant