On Fri, 3 Feb 2023 18:33:46 GMT, Maurizio Cimadamore <[email protected]>
wrote:
>> Adam Sotona has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> Classfile API moved under jdk.internal.classfile package
>
> src/java.base/share/classes/jdk/internal/classfile/FieldTransform.java line
> 92:
>
>> 90: * @return the field transform
>> 91: */
>> 92: static FieldTransform dropping(Predicate<FieldElement> filter) {
>
> Could this be a more general static generic method on ClassfileTransform?
> (but I see CodeTransform doesn't have it - not sure if that's deliberate).
It is deliberate as we didn't found meaningful use case for transformation just
dropping individual code elements.
-------------
PR: https://git.openjdk.org/jdk/pull/10982