5 ms·
But can't you continue to run older bytecode versions on newer JVMs? I think you can also specify the source version separately.
by wtetzner 2mo ago
But can't you continue to run older bytecode versions on newer JVMs? I think you can also specify the source version separately.
- samus 2mo agoYes, you can. There is no need to recompile, unless you're interested in new language features. Maintaining binary compatibility is a principal goal of the platform which continues to constrain design decisions for all future changes.
- doikor 2mo agoThere are some actual removal of feature too (breaking backwards compatibility on purpose). But those come with deprecation warnings for years before the actual feature is removed. And even then quite often it is still possible to enable with some feature flag for a version or two.