Re: RFR: 8296734: JarVerifier:: mapSignersToCodeSource should cache in map [v4]

2022-11-19 Thread Weijun Wang
On Sat, 19 Nov 2022 04:31:13 GMT, pandaapo wrote: >> The cache named `signerToCodeSource` in `JarVerifier` is never used now. > > pandaapo has updated the pull request incrementally with one additional > commit since the last revision: > > Modify as reviews. I just filed https://bugs.openjdk

Re: RFR: 8296734: JarVerifier:: mapSignersToCodeSource should cache in map [v4]

2022-11-19 Thread pandaapo
On Sat, 19 Nov 2022 23:00:44 GMT, Weijun Wang wrote: > since this bug description is about a coding error but you fix is about > cleanup, how about I file another bug and you use it in the title? OK. Thanks. > I am trying to add a noreg-cleanup label to the bug and it does not apply to > the

Re: RFR: 8296734: JarVerifier:: mapSignersToCodeSource should cache in map [v4]

2022-11-19 Thread Weijun Wang
On Sat, 19 Nov 2022 04:31:13 GMT, pandaapo wrote: >> The cache named `signerToCodeSource` in `JarVerifier` is never used now. > > pandaapo has updated the pull request incrementally with one additional > commit since the last revision: > > Modify as reviews. BTW, since this bug description i

Re: RFR: 8296734: JarVerifier:: mapSignersToCodeSource should cache in map [v4]

2022-11-19 Thread Weijun Wang
On Sat, 19 Nov 2022 04:31:13 GMT, pandaapo wrote: >> The cache named `signerToCodeSource` in `JarVerifier` is never used now. > > pandaapo has updated the pull request incrementally with one additional > commit since the last revision: > > Modify as reviews. Great to see more lines removed.

Re: RFR: 8296734: JarVerifier:: mapSignersToCodeSource should cache in map [v4]

2022-11-18 Thread pandaapo
> The cache named `signerToCodeSource` in `JarVerifier` is never used now. pandaapo has updated the pull request incrementally with one additional commit since the last revision: Modify as reviews. - Changes: - all: https://git.openjdk.org/jdk/pull/11072/files - new: https://

Re: RFR: 8296734: JarVerifier:: mapSignersToCodeSource should cache in map [v2]

2022-11-18 Thread pandaapo
On Fri, 18 Nov 2022 15:38:47 GMT, Weijun Wang wrote: >> pandaapo has updated the pull request with a new target base due to a merge >> or a rebase. The incremental webrev excludes the unrelated changes brought >> in by the merge/rebase. The pull request contains three additional commits >> sin

Re: RFR: 8296734: JarVerifier:: mapSignersToCodeSource should cache in map [v3]

2022-11-18 Thread pandaapo
> The cache named `signerToCodeSource` in `JarVerifier` is never used now. pandaapo has updated the pull request incrementally with one additional commit since the last revision: Modify as reviews. - Changes: - all: https://git.openjdk.org/jdk/pull/11072/files - new: https://

Re: RFR: 8296734: JarVerifier:: mapSignersToCodeSource should cache in map [v2]

2022-11-18 Thread Weijun Wang
On Fri, 18 Nov 2022 03:57:32 GMT, pandaapo wrote: >> The cache named `signerToCodeSource` in `JarVerifier` is never used now. > > pandaapo has updated the pull request with a new target base due to a merge > or a rebase. The incremental webrev excludes the unrelated changes brought in > by the

Re: RFR: 8296734: JarVerifier:: mapSignersToCodeSource should cache in map [v2]

2022-11-18 Thread Weijun Wang
On Fri, 18 Nov 2022 03:57:32 GMT, pandaapo wrote: >> The cache named `signerToCodeSource` in `JarVerifier` is never used now. > > pandaapo has updated the pull request with a new target base due to a merge > or a rebase. The incremental webrev excludes the unrelated changes brought in > by the

Re: RFR: 8296734: JarVerifier:: mapSignersToCodeSource should cache in map [v2]

2022-11-18 Thread Weijun Wang
On Fri, 18 Nov 2022 03:57:32 GMT, pandaapo wrote: >> The cache named `signerToCodeSource` in `JarVerifier` is never used now. > > pandaapo has updated the pull request with a new target base due to a merge > or a rebase. The incremental webrev excludes the unrelated changes brought in > by the

Re: RFR: 8296734: JarVerifier:: mapSignersToCodeSource should cache in map [v2]

2022-11-17 Thread pandaapo
> The cache named `signerToCodeSource` in `JarVerifier` is never used now. pandaapo has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional com

Re: RFR: 8296734: JarVerifier:: mapSignersToCodeSource should cache in map

2022-11-17 Thread pandaapo
On Thu, 17 Nov 2022 19:50:32 GMT, Sean Mullan wrote: > > Because `JarVerifier#setEagerValidation` will be removed, the field > > `eagerValidation` will always be false. > > There are some codes using this field: > > https://github.com/openjdk/jdk/blob/master/src/java.base/share/classes/java/uti

Re: RFR: 8296734: JarVerifier:: mapSignersToCodeSource should cache in map

2022-11-17 Thread Sean Mullan
On Wed, 16 Nov 2022 07:41:45 GMT, pandaapo wrote: > Because `JarVerifier#setEagerValidation` will be removed, the field > `eagerValidation` will always be false. > > There are some codes using this field: > https://github.com/openjdk/jdk/blob/master/src/java.base/share/classes/java/util/jar/Ja

Re: RFR: 8296734: JarVerifier:: mapSignersToCodeSource should cache in map

2022-11-15 Thread pandaapo
On Mon, 14 Nov 2022 18:41:41 GMT, Sean Mullan wrote: > Yes. I believe the `setEagerValidation` method can also be removed and all > code that calls it. OK, I will remove it and all methods that calls it: ![jdk issue 8296734](https://user-images.githubusercontent.com/35672972/202113084-e7308680

Re: RFR: 8296734: JarVerifier:: mapSignersToCodeSource should cache in map

2022-11-14 Thread Sean Mullan
On Fri, 11 Nov 2022 13:57:39 GMT, pandaapo wrote: > > If you want to instead do some general cleanup in this class for JDK 20, > > you could instead remove this method and several other unused methods from > > `JarVerifier`. > > Before I began to make general cleanup, I looked up from this unu

Re: RFR: 8296734: JarVerifier:: mapSignersToCodeSource should cache in map

2022-11-11 Thread pandaapo
On Thu, 10 Nov 2022 21:08:34 GMT, Sean Mullan wrote: > If you want to instead do some general cleanup in this class for JDK 20, you > could instead remove this method and several other unused methods from > `JarVerifier`. Before I began to make general cleanup, I looked up from this unused met

Re: RFR: 8296734: JarVerifier:: mapSignersToCodeSource should cache in map

2022-11-10 Thread Sean Mullan
On Thu, 10 Nov 2022 01:02:00 GMT, pandaapo wrote: > The cache named `signerToCodeSource` in `JarVerifier` is never used now. If you want to instead do some general cleanup in this class for JDK 20, you could instead remove this method and several other unused methods from `JarVerifier`. -

Re: RFR: 8296734: JarVerifier:: mapSignersToCodeSource should cache in map

2022-11-10 Thread Weijun Wang
On Thu, 10 Nov 2022 01:02:00 GMT, pandaapo wrote: > The cache named `signerToCodeSource` in `JarVerifier` is never used now. I'm not sure. You can probably ask on jdk8u-...@openjdk.java.net. - PR: https://git.openjdk.org/jdk/pull/11072

Re: RFR: 8296734: JarVerifier:: mapSignersToCodeSource should cache in map

2022-11-10 Thread pandaapo
On Thu, 10 Nov 2022 16:05:46 GMT, Weijun Wang wrote: > The method is not called since JDK 9, and that's why I set Affected Version/s > to 8-pool. We don't intend to fix this in the current release. Oh. Could you tell me where I should submit this PR? `jdk8u`? - PR: https://git.ope

Re: RFR: 8296734: JarVerifier:: mapSignersToCodeSource should cache in map

2022-11-10 Thread Weijun Wang
On Thu, 10 Nov 2022 01:02:00 GMT, pandaapo wrote: > The cache named `signerToCodeSource` in `JarVerifier` is never used now. The method is not called since JDK 9, and that's why I set Affected Version/s to 8-pool. We don't intend to fix this in the current release. - PR: https://g

RFR: 8296734: JarVerifier:: mapSignersToCodeSource should cache in map

2022-11-09 Thread pandaapo
The cache named `signerToCodeSource` is never used now. - Commit messages: - Make signerToCodeSource cache work. Changes: https://git.openjdk.org/jdk/pull/11072/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11072&range=00 Issue: https://bugs.openjdk.org/browse/JDK-829673