From 416d46947ca926a31fbf9e97d0e7c320063ecfb2 Mon Sep 17 00:00:00 2001 From: Alexander Zvegintsev Date: Fri, 24 Jan 2025 05:41:12 +0000 Subject: [PATCH] 8347008: beancontext package spec does not clearly explain why the API is deprecated Reviewed-by: aivanov, prr --- .../java/beans/beancontext/package-info.java | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/java.desktop/share/classes/java/beans/beancontext/package-info.java b/src/java.desktop/share/classes/java/beans/beancontext/package-info.java index 25c38996dee65..be9ab453359d9 100644 --- a/src/java.desktop/share/classes/java/beans/beancontext/package-info.java +++ b/src/java.desktop/share/classes/java/beans/beancontext/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2024, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 2025, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -30,12 +30,15 @@ * context can be nested within another bean context. This package also * contains events and listener interface for beans being added and removed from * a bean context. - * - * This package has been deprecated and may be removed in a future version of the Java Platform - * There is no replacement. - * + *

+ * These APIs are now both obsolete and express an anti-pattern of component + * assembly and interaction. + *

+ * This package has been deprecated and may be removed in a future version of + * the Java Platform. There is no replacement. + *

* All of the classes and interfaces in this package have been terminally deprecated. - * + *

* Users are advised to migrate their applications to other technologies. * * @since 1.2