Skip to content

Conversation

@elharo
Copy link
Contributor

@elharo elharo commented Oct 15, 2025

Maven should produce byte per byte identical output on different platforms. That means when writing text files it should not depend on the platform default character set.

fixes #1273

@jglick
@garydgegory
@fridrich
@ASDFGamer

@elharo elharo requested a review from olamy October 15, 2025 15:48
@elharo elharo self-assigned this Oct 15, 2025
@elharo elharo added the bug Something isn't working label Oct 15, 2025
@elharo
Copy link
Contributor Author

elharo commented Oct 15, 2025

FYI, looks like the CI is borked again:

The job is failing due to the error:

BUG! exception in phase 'semantic analysis' in source unit 'Script1.groovy' Unsupported class file major version 69

This means the Groovy script (verify.groovy) is trying to load or interact with class files compiled for Java 23 (major version 69), but the version of Groovy used does not support this Java version.

@elharo
Copy link
Contributor Author

elharo commented Oct 15, 2025

Might also be a problem involving directory name encoding

@fridrich
Copy link
Contributor

I verified it extensively and the bug I was fixing by #1215 is still fixed with this PR. So, at least from this point of view it looks good.

@elharo elharo closed this Oct 16, 2025
@slachiewicz slachiewicz deleted the stale2 branch October 26, 2025 21:34
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.

Regression starting in 3.11.3: java.nio.charset.MalformedInputException: Input length = 1

2 participants