RFR: 8310837: Use ByteArrayLittleEndian in java.util.zip
Glavo
duke at openjdk.org
Mon Jun 26 14:36:03 UTC 2023
On Mon, 26 Jun 2023 14:25:03 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> We shouldn't rush into that as it it creates coupling between java.base and jdk.zipfs that is problematic for maintenance, integrity and security. Need to be careful with every qualified exports that is added.
Oh well. I'm just confused as to why these few classes are being duplicated, is it for historical reasons?
Another question that confuses me is why `ZipUtils` needs to use `Unsafe` to get the `hb` and `offset` fields of `ByteBuffer`. Is it because of performance?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/14632#issuecomment-1607619193
More information about the core-libs-dev
mailing list