RFR: 8230501: Class data support for hidden classes [v4]

Mandy Chung mchung at openjdk.java.net
Wed Nov 18 18:34:06 UTC 2020


On Wed, 18 Nov 2020 17:26:02 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:

>> Mandy Chung has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Fix the name passed to condy calling classData
>
> IIUC `classData` can be used for an original lookup that is not produced by the result of `defineHiddenClassWithClassData`, but in such cases the class data will always be null.
> 
> Since `defineHiddenClassWithClassData` rejects null values for class data, we could detect such usage and throw in the bootstrap methods. That would require a special constant assignment for hidden classes with no class data. Probably not worth it.
> 
> Recommend an API note.

@PaulSandoz @JornVernee can you please review CSR:
    https://bugs.openjdk.java.net/browse/JDK-8256214

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

PR: https://git.openjdk.java.net/jdk/pull/1171


More information about the core-libs-dev mailing list