Pewarta Proxy

📋 Server Request & Proxy Logs

Loading active proxy settings...
Developed by Khairul Adha (adhexa.id)
Mengambil log server...

⚙️ Pengaturan Proxy Target

Skip to content

Avoid producing a trailing colon in java.class.path. - #3365

Merged
olamy merged 1 commit into
apache:masterfrom
cpovirk:trailing-colon
Jun 2, 2026
Merged

olamy merged 1 commit into
apache:masterfrom
cpovirk:trailing-colon

Conversation

@cpovirk

@cpovirk cpovirk commented May 29, 2026 •

Copy link
Copy Markdown
Contributor

This is more consistent with how java -cp ... operates:

If I run...

java -cp somejar:

...then Java sees a trailing empty path, i.e., "the current directory."

But Surefire includes a trailing colon in all cases --
even when the current directory is not on the class path.

This behavior contributed to google/guava#8295

Following this checklist to help us incorporate your
contribution quickly and easily:

  • Each commit in the pull request should have a meaningful subject line and body.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • Run mvn clean install to make sure basic checks pass. A more thorough check will
    be performed on your pull request automatically.
  • You have run the integration tests successfully (mvn -Prun-its clean install).

If your pull request is about ~20 lines of code you don't need to sign an
Individual Contributor License Agreement if you are unsure
please ask on the developers list.

To make clear that you license your contribution under
the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.

This is more consistent with how `java -cp ...` operates:

If I run...

`java -cp somejar:`

...then Java sees a trailing empty path, i.e., "the current directory."

But Surefire includes a trailing colon in all cases --
even when the current directory is not on the class path.

This behavior contributed to google/guava#8295
@olamy olamy added this to the 3.6.0.M1 milestone Jun 2, 2026
@olamy olamy added the bug Something isn't working label Jun 2, 2026
@olamy
olamy merged commit 478c7e6 into apache:master Jun 2, 2026
27 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants