Skip to content
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

1.7.0(?): Groovy compiler creates "Template_*.class" files in root app dir. #1410

Open
qabi opened this issue Apr 28, 2022 · 1 comment
Open

Comments

@qabi
Copy link

qabi commented Apr 28, 2022

After upgrading from 1.6 on Java 8 to 1.7 on Java 11/17, I get a lot of files like 'Template_1001.class' etc. in the root of the app dir. This is the case for precompiling as well as normal compilation.

As far as I can tell this is more or less hardwired in the Groovy compiler (to output a file). I am not sure if these files were written somewhere else before?

I tried changing back to 1.6.0/Java8 and it still seems to happen. So I am at a loss for explaining exactly why this happens, since it did not before.

Seen on Ubuntu 22.04 and MacOS.

Can anybody shed some light on where the (temporary?) compiled groovy classes are supposed to go? Or if they should be deleted after writing the other files under /tmp?

See also: StackOverflow issue

@tazmaniax
Copy link
Collaborator

tazmaniax commented Apr 28, 2022

There was a regression but this was recently fixed again and should be available in the next release, see ed2622d

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

No branches or pull requests

2 participants