On Fri, 2 Feb 2024 20:19:51 GMT, Eirik Bjørsnøs <eir...@openjdk.org> wrote:

> > I think the change is OK, any reason to not make it 
> > `externalFileAttributes`?
> 
> None other than length / verbosity. But since this refers to the _attributes 
> of the external file_, dropping any name element also loses some semantics, 
> introducing a potential for confusion. Perhaps verbosity is the sensible 
> choice here.
> 
> If you agree to the above, I can update the PR to rename to the following 
> names instead:
> 
> * `ZipFile.externalFileAttributes`
> * `JavaUtilZipFileAccess.java.[set|get]ExternalFileAttributes`
> * `JarSigner.externalFileAttributesDetected`
> * `jarsigner/Main.externalFileAttributesDetected`
> * `external.file.attributes.detected` in `Resources.java`
> 
> WDYT?

I think the proposed change above makes things clearer.  Perhaps also make the 
same change in zipfs as well while you are at it?

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

PR Comment: https://git.openjdk.org/jdk/pull/16952#issuecomment-1924670785

Reply via email to