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

Use of java.io.OutputStream doesn't make task compatible with configuration cache #3

Open
bmuschko opened this issue Apr 12, 2023 · 1 comment

Comments

@bmuschko
Copy link

When enabling the configuration cache with --configuration-cache, the task com.github.monosul.yadegrap.DelombokTask tries to serialize an object of type java.io.OutputStream. I believe this is due to this usage: https://github.com/monosoul/yadegrap/blob/not-ant/src/main/groovy/com/github/monosoul/yadegrap/DelombokTask.groovy#L142-L162.

a subtype of java.io.OutputStream, as these are not supported with the configuration cache.

I believe to fix, you can't assign the instance to a field of the class.

@bmuschko
Copy link
Author

Is this something you are planning to fix and release soon?

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

1 participant