RFR: 8327225: Revert DataInputStream.readUTF to static final
Claes Redestad
redestad at openjdk.org
Mon Mar 4 13:59:59 UTC 2024
[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.
-------------
Commit messages:
- 8327225: Revert DataInputStream.readUTF to static final
Changes: https://git.openjdk.org/jdk/pull/18107/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18107&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8327225
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/18107.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/18107/head:pull/18107
PR: https://git.openjdk.org/jdk/pull/18107
More information about the core-libs-dev
mailing list