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
error: Unexpected error: Attempt to recreate a file for type com.example.$DemoTest$Definition #6536
Comments
This looks like another Gradle 7.3 incremental compilation bug. /cc @melix Workaround is to use 7.2 |
mmm, that's strange, could it be that the fix @oehme worked on didn't make it into 7.3? |
Seems it did but this is a different case? gradle/gradle#18840 |
I'll have a look. |
@natros I've verified my fix with your sample. Can you check out gradle/gradle#19067, run |
@oehme I can confirm it works. Thanks for the quick fix. |
Hello @oehme I come across a new case that took me a long time to reproduce. Steps
Note: with linux edit compile.sh and replace After a few iterations you should see
I'm using gradle with your patch
With gradle 7.2 I cannot reproduce de error |
Found and fixed that issue as well, same pull request. |
Seems to be working 😀 Once again, thank you. |
Fixes micronaut-projects/micronaut-core#6536 Signed-off-by: Stefan Oehme <st.oehme@gmail.com>
Expected Behavior
Compile without errors
Actual Behaviour
Steps To Reproduce
Environment Information
openjdk 17.0.1 2021-10-19 LTS
OpenJDK Runtime Environment Zulu17.30+15-CA (build 17.0.1+12-LTS)
OpenJDK 64-Bit Server VM Zulu17.30+15-CA (build 17.0.1+12-LTS, mixed mode, sharing)
Example Application
https://github.com/natros/mn-demo
Version
3.1.4
The text was updated successfully, but these errors were encountered: