RFR: JDK-8310502 : Optimization for j.l.Long.fastUUID() [v19]
Glavo
duke at openjdk.org
Sun Jun 25 16:51:06 UTC 2023
On Sun, 25 Jun 2023 16:09:51 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> I don't think this is feasible, for this uses a new feature and hampers backport to jdk11.
I don't think affecting backports in general should be a reason to discourage new features from being used.
https://github.com/wenshao/jdk/commit/4a3da4b20fe0f7244c2c7bde3d9a0e2c8b91455a is great for me.
Implementing some functions of UUID in `Long` is inherently illogical. Now that we can implement it efficiently in the `UUID` class, there's no reason why we shouldn't.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/14578#issuecomment-1606154954
More information about the core-libs-dev
mailing list