RFR: 8294982: Implementation of Classfile API [v12]
Adam Sotona
asotona at openjdk.org
Wed Feb 8 08:20:54 UTC 2023
On Fri, 3 Feb 2023 18:33:46 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> 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
More information about the build-dev
mailing list