On Thu, 13 Aug 2026 20:18:40 GMT, Vicente Romero <[email protected]> wrote:
> After this PR value classes that override method Object::finalize will get a > compiler error instead of a warning > > TIA > > --------- > - [X] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). This pull request has now been integrated. Changeset: 2f4fdcbf Author: Vicente Romero <[email protected]> URL: https://git.openjdk.org/jdk/commit/2f4fdcbf90a0f31e55be425f512aa6173a4d42de Stats: 255 lines in 10 files changed: 196 ins; 43 del; 16 mod 8339188: Javac should issue a compiler error when a value class overrides Object::finalize Reviewed-by: dlsmith, mcimadamore ------------- PR: https://git.openjdk.org/jdk/pull/32355
