Integrated: CODETOOLS-7903346: Cannot compile jtreg with jdk-19

Jonathan Gibbons jjg at openjdk.org
Thu Oct 6 14:24:43 UTC 2022


On Thu, 6 Oct 2022 00:03:12 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:

> Please review a trivial change to a class in the jtreg repo, to disable warnings on an "unintentionally serializable" class.
> The class extends `TreeMap` which happens to be `Serializable`, and the class contains some non-serializable fields.
> 
> In JDK 18, the javac serialization warnings were enhanced, causing this code to fail to compile with `-Xlint -Werror`.

This pull request has now been integrated.

Changeset: f4f1a41e
Author:    Jonathan Gibbons <jjg at openjdk.org>
URL:       https://git.openjdk.org/jtreg/commit/f4f1a41e4add3187b2c73f95c06591ae2de475a4
Stats:     3 lines in 1 file changed: 1 ins; 2 del; 0 mod

7903346: Cannot compile jtreg with jdk-19

Reviewed-by: iris

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

PR: https://git.openjdk.org/jtreg/pull/129


More information about the jtreg-dev mailing list