On Tue, 4 Apr 2023 17:22:11 GMT, Chen Liang <li...@openjdk.org> wrote:
>> Also remove redundant casts to avoid javac warnings. > > Chen Liang 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 eight additional commits since > the last revision: > > - Retain a general note in ConstantDesc > - Merge branch 'master' into constdesc-override > - Update tests to remove useless casts and update copyright year > - Merge branch 'master' into constdesc-override > - Move MethodTypeDesc api notes to MethodTypeDesc > - Merge branch 'master' of https://git.openjdk.java.net/jdk into > constdesc-override > - Remove redundant casts > - Covariant override of resolveConstantDesc for > Class/MethodType/MethodHandleDesc This should probably also remove the now unnecessary casts from the benchmark that was added in [GH‑13252]: https://github.com/openjdk/jdk/blob/ed9592c6e81f82e2bf6508ce45ba15aad8232181/test/micro/org/openjdk/bench/java/lang/constant/ReferenceClassDescResolve.java#L57-L70 [GH‑13252]: https://github.com/openjdk/jdk/pull/13252 ------------- PR Comment: https://git.openjdk.org/jdk/pull/12986#issuecomment-1496893219