adding an interface to a class
Brian Goetz
brian.goetz at oracle.com
Wed Apr 2 19:25:28 UTC 2025
Correct. (For bonus points, you should also check to make sure it is
not already in the list of implemented interfaces.)
On 4/2/2025 3:12 PM, Mark Roberts wrote:
>
> I might be missing something, but I see only a method to set all the
> interfaces of a class. So to add an interface I have to get the
> current list of interfaces, add mine to it and then reset the entire
> list. Is that correct?
>
> Thank you,
>
> Mark
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/classfile-api-dev/attachments/20250402/a0e09e71/attachment.htm>
More information about the classfile-api-dev
mailing list