RFR: 8294982: Implementation of Classfile API [v36]

Adam Sotona asotona at openjdk.org
Tue Mar 7 11:00:40 UTC 2023


On Fri, 3 Mar 2023 16:33:49 GMT, Adam Sotona <asotona at openjdk.org> wrote:

>> src/java.base/share/classes/jdk/internal/classfile/impl/TransformImpl.java line 63:
>> 
>>> 61:     private static final Runnable NOTHING = () -> { };
>>> 62: 
>>> 63:     interface FakeClassTransform extends ClassTransform {
>> 
>> Rename to `UnresolvedXxxTransform`? I think that is a better name, since it could appear in stack traces. Like with `XxxTransformImpl` it may be possible to share across all implementations by mixing in?
>
> Renamed to `UnresolvedXyzTransform`, thanks.
> I'll consider conversion to generic form in a next step.

Unfortunately application of common generic `UnresolvedTransform<C, B, E>` does not work here.

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

PR: https://git.openjdk.org/jdk/pull/10982



More information about the build-dev mailing list