[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-jmx-dev
Subject:    Re: jmx-dev RFR: 8297794: Deprecate JMX Management Applets for Removal
From:       Daniel Fuchs <dfuchs () openjdk ! org>
Date:       2022-11-30 14:46:06
Message-ID: keZLPW4upQI0M5Ijz4YgU0FflbHSIYQ7mRHe5a_Rn2c=.ff58dbbc-d07f-4c7c-b122-0d39e6b5ff4d () github ! com
[Download RAW message or body]

On Wed, 30 Nov 2022 14:24:36 GMT, Kevin Walls <kevinw@openjdk.org> wrote:

> MLetObjectInputStream and MLetParser are not public classes, so thinking they are not part of \
> the public API we need to deprecate before removal.

Whether a class is public exported or not has no real relationship with whether it should have \
the `@Deprecated` annotation or not. It is better to add the `@Deprecated` annotation eagerly \
to all classes that are part of the feature being deprecated, if they are only used for the \
implementation of that feature, and if the thinking is that they would be removed if the \
feature is removed. Plus it usually simplifies things as it usually minimizes the places where \
you need to suppress warnings.

-------------

PR: https://git.openjdk.org/jdk/pull/11430


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic