On Wed, 5 Feb 2025 12:53:09 GMT, Fernando Guallini <fguall...@openjdk.org> wrote:
> When compiling the test class: jdk/test/lib/security/timestamp/TsaServer.java > > > Two warning are shown: > > > test/lib/security/timestamp/TsaServer.java:56: warning: [this-escape] > possible 'this' escape before subclass is fully initialized > setHandler(handler); > > - setHandler is called in the constructor and a subclass may override it. It > is fixed by making the method 'final' > > > test/lib/security/timestamp/TsaServer.java:42: warning: [try] auto-closeable > resource TsaServer has a member method close() that could throw > InterruptedException > > - Remove `throws Exception` from TsaServer.close() This pull request has now been integrated. Changeset: 1eb54e42 Author: Fernando Guallini <fguall...@openjdk.org> Committer: Rajan Halade <rhal...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/1eb54e4228ba9319ac2f980055ed366dd861ec0b Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod 8346049: jdk/test/lib/security/timestamp/TsaServer.java warnings Reviewed-by: weijun, rhalade, hchao, lmesnik ------------- PR: https://git.openjdk.org/jdk/pull/23463