Method and Field Literals

Paul Sandoz paul.sandoz at
Tue Nov 11 14:03:17 UTC 2014

On Nov 11, 2014, at 12:28 PM, Brian Goetz <brian.goetz at Oracle.COM> wrote:
> Method and field literals came up during lambda.  (As did method handle literals ). The upshot was that while we did not dislike them, they were sufficiently distant from the lambda mission that, when the inevitable need to cut scope made its appearance, they didn't make the cut. But they are on the list of features to b considered.  

See the following for a use-case using field references to look VarHandles:

At some point in the near future i want to prototype this in the valhalla repo.


More information about the discuss mailing list