Method and Field Literals
Martijn Verburg
martijnverburg at gmail.com
Fri Jul 27 16:59:33 UTC 2018
@HereBeDragons - I’m almost tempted to raise a JEP.
On Fri, 27 Jul 2018 at 16:45, Brian Goetz <brian.goetz at oracle.com> wrote:
> > The non easy way is to make the method reference Serializable, serialize
> it and extract the Serialization proxy which contains the class, the method
> etc.
>
> In addition to non-easy, this is also non-safe, non-cost-free, etc.
> Let's put this in the category of "dangerous workarounds" :)
>
>
> --
Cheers, Martijn (Sent from Gmail Mobile)
More information about the discuss
mailing list