RFR: 8294982: Implementation of Classfile API [v13]
Maurizio Cimadamore
mcimadamore at openjdk.org
Wed Feb 8 11:18:52 UTC 2023
On Wed, 8 Feb 2023 11:05:34 GMT, Adam Sotona <asotona at openjdk.org> wrote:
> `ofSymbols` is an alternative to `of` when conflicting method parameters. In such case `of` refers to CP entries and `ofSymbols` refer to independent symbols describing the objects, like for example `ClassDesc`, `MethodTypeDesc`, `PackageDesc`
Yes, I was noting that some classes e.g. ModuleProvideInfo do not seem to follow this logic:
static ModuleProvideInfo of(ClassEntry provides, ClassEntry... providesWith) { ... }
static ModuleProvideInfo of(ClassDesc provides, List<ClassDesc> providesWith) { ... }
-------------
PR: https://git.openjdk.org/jdk/pull/10982
More information about the core-libs-dev
mailing list