On Wed, 8 Feb 2023 11:05:34 GMT, Adam Sotona <asot...@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

Reply via email to