Skip to content

Introduce Compiler.supportsIncrementalCompilation #154

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

Closed
rfscholte opened this issue Sep 11, 2021 · 3 comments
Closed

Introduce Compiler.supportsIncrementalCompilation #154

rfscholte opened this issue Sep 11, 2021 · 3 comments

Comments

@rfscholte
Copy link
Member

With this hint the caller can decide which classes should be (re)compiled. In general if incremental compilation is not supported, it is best to recompile everything if something has changed.
(Since Compiler is an interface, this requires Java 8 so a default method can be added)

@rfscholte
Copy link
Member Author

Warning: it is a boolean, but it should have been an integer to define which parts are supported. Don't use the boolean flag! Sadly
the library was released before this could be fixed.

@olamy
Copy link
Member

olamy commented Nov 21, 2021

I don;t understand? you pushed that here 7476614
we can change that as not sure it's really used for now and it's a very recent release

@rfscholte
Copy link
Member Author

This was indeed the first approach, but later I discovered that it is not a simple true/false thingy, It must be more finegrained.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants