Integrated: 8327225: Revert DataInputStream.readUTF to static final

Claes Redestad redestad at openjdk.org
Tue Mar 5 13:33:50 UTC 2024


On Mon, 4 Mar 2024 13:55:15 GMT, Claes Redestad <redestad at openjdk.org> wrote:

> [JDK-8325340](https://bugs.openjdk.org/browse/JDK-8325340) accidentally removed `final` from the `static final DataInputStream.readUTF` method. This has a minor compatibility impact (allows hiding the method in a subclass, while before that would throw an exception at compile time) and since it was not the intent of the prior change to alter any behavioral semantics here I want to revert that change.

This pull request has now been integrated.

Changeset: c653e67c
Author:    Claes Redestad <redestad at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/c653e67c0f6ce7a023a5ea079d8872b1eeb8eba7
Stats:     1 line in 1 file changed: 0 ins; 0 del; 1 mod

8327225: Revert DataInputStream.readUTF to static final

Reviewed-by: rriggs, bpb, gli

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

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


More information about the core-libs-dev mailing list