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

List:       openjdk-2d-dev
Subject:    Integrated: 8283700: Add final or sealed modifier to appropriate java.awt API classes
From:       Phil Race <prr () openjdk ! java ! net>
Date:       2022-03-30 17:30:42
Message-ID: 2rVoNf1zk-e6GTb66mtJpOaya7b186RdBhkZSF1_Eqs=.97136ff1-1eb9-4419-909d-e4210cb0e08b () github ! com
[Download RAW message or body]

On Mon, 28 Mar 2022 16:30:50 GMT, Phil Race <prr@openjdk.org> wrote:

> JDK 17 delivered JEP 409: Sealed Classes : https://openjdk.java.net/jeps/409
> In essence this JEP allows a class to limit which classes can subclass it.
> If a class has no subclasses and cannot be subclassed outside the JDK it can also \
> be made final. Suitable classes across the JDK are being retro-fitted to be sealed \
> (or made final) where it can be done compatibly. This fix takes care of several AWT \
> classes which were identified. If later we need to remove sealed or make a class \
> non-final that will also be a compatible change, so we aren't locking ourselves \
> into this. 
> All our automated regression tests - plus JCK tests have been run.
> 
> This will require a CSR

This pull request has now been integrated.

Changeset: e85fa2f0
Author:    Phil Race <prr@openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/e85fa2f04b17531862c2469597674d60ad25a19f
                
Stats:     29 lines in 12 files changed: 17 ins; 0 del; 12 mod

8283700: Add final or sealed modifier to appropriate java.awt API classes

Reviewed-by: darcy, aivanov, serb, psadhukhan

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

PR: https://git.openjdk.java.net/jdk/pull/7998


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

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