On Mon, 1 Apr 2024 22:53:12 GMT, Larry Cable <d...@openjdk.org> wrote:
> the beancontext package was added (by me) in JDK 1.2 to provide JavaBeans(tm) > with a containment and services hierarchy. > > based upon concepts from OpenDoc, which was a popular component model at the > time, the API pre-dated the addition of language features such as > annotations, and the invention and adoption of programming design patterns > such as "Inversion of Control" and/or "Dependency Injection". > > This API (package) has not evolved with either the language or current design > trends, as such it is, at best, anachronistic, and is probably an > anti-pattern that should be avoided. > > This package is therefore deprecated **FOR REMOVAL IN AT FUTURE RELEASE** This pull request has now been integrated. Changeset: e0d1c4b3 Author: Larry Cable <larry.ca...@oracle.com> Committer: Alexey Ivanov <aiva...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/e0d1c4b38c7ad2dc67f3d14b0b179b313c85fc0a Stats: 74 lines in 20 files changed: 52 ins; 0 del; 22 mod 8321428: Deprecate for removal the package java.beans.beancontext Reviewed-by: prr, tr, iris, serb, aivanov ------------- PR: https://git.openjdk.org/jdk/pull/18569