Repository navigation
Bump javac.release from 17 to 21 to consolidate on one version - #9726
Conversation
|
... forgot to commit a revert and found another issue, a manifest had a edit2: version bumps are like a box of chocolates |
87989ac to
9bd0123
Compare
Lib wrapper modules are excluded from the bump: their javac.release mirrors the bytecode level of the wrapped binary (floored at 8), so they are aligned to that level instead.
The Gradle one. Yes, doesn't like there was a need for that. Only use for setting that manually is for optional modules that have a requirement above the baseline but aren't compiled for that. ie. using reflection or wrapping a resource that has higher requirements. Not sure if we have any at the moment. |
oh right. But this might not be the reason for the manifest entry, it was added in #7257. while gradle tooling is compiled with |
those are all modules which are currently on 17 and also have java sources (except lib wrappers)
i didn't plan on doing this anymore after
javac.releasemigration (#8813) but it helps to remove a distracting step during review, since not all contributors know that they could bump the version and use newer API. Maybe there will be some kind of default version at some point #9323. There was also a dev-list thread. cc @erraelthis can wait for after release to avoid conflicts.