Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] Do we need a MAX BREE? max java version?



On Mon, Jul 5, 2021 at 3:39 PM Jörg Kubitz <jkubitz-eclips
    "Bundle-RequiredExecutionEnvironment: JavaSE-1.8"
is not a guarantee it will still run on later java JDK versions. But we
treat it as that.
API removals will go on.

Actually, neither BREE or osgi.ee requirement do guarantee anything about EE APIs, they mostly only guarantee execution of execution level and .class version support. Import-Package should be used to build guarantees about APIs, but here as well, the package grain may be too coarse and cases of just 1 method removal remain hard to capture.
Setting a max version requires a lot of effort to go to newer versions (all MANIFEST.MF need to be modified!), we should avoid it and just keep optimistic, otherwise each release of Java would be even more expansive to adopt.

Back to the top