-
-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Encoding not applied when the compiler is forked #90
Comments
Hi @picpicpic Thanks for the detailed diagnosis, I got it. Essentially you need that encoding configuration should be set on javac cli when java compiler is forked |
Hi @picpicpic, I've fix issue and deployed Please take chance to test it and let me know |
Hi @bsorrentino, I tested with the version 4.5-jdk8-SNAPSHOT and it's working 👍 Many thx! |
I've released version |
Hello,
It seems the encoding is not properly used when the compiler is forked.
In our case, we are using the maven-toolchains-plugin to choose the jdk which automatically set the fork property to true.
Context
xml <project.build.sourceEncoding>
tag.Currently
Our project fails due to unmappable character errors.
From the debug trace below, we see that :
Expected
The encoding parameter should be passed to javac process.
Workaround
If we force the encoding arguments, the build is working
Debug trace
Regards
Aldric
The text was updated successfully, but these errors were encountered: