On Mon, 20 Feb 2023 08:49:38 GMT, Volker Simonis <simo...@openjdk.org> wrote:

> Sorry, but that's a really weird argument. You can't introduce a new public 
> API and then blame people for using it! If the API is really only intended to 
> support the internal implementation of a language feature than make it 
> private and don't export it.

The spec states:

> API Note:
>   These linkage methods are designed to support the evaluation of lambda 
> expressions and method references in the Java Language. 

The API has to be public as the call gets injected into application code.

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

PR: https://git.openjdk.org/jdk/pull/12493

Reply via email to