hg: jdk8/tl/langtools: 7120463: Fix method reference parser support in order to avoid ambiguities

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Mon Dec 19 04:07:58 PST 2011


Changeset: 1ae5988e201b
Author:    mcimadamore
Date:      2011-12-19 12:07 +0000
URL:       http://hg.openjdk.java.net/jdk8/tl/langtools/rev/1ae5988e201b

7120463: Fix method reference parser support in order to avoid ambiguities
Summary: Add lookahead routine to disambiguate between method reference in method context and binary expression
Reviewed-by: jjg, dlsmith

! src/share/classes/com/sun/tools/javac/parser/JavacParser.java
! test/tools/javac/lambda/MethodReferenceParserTest.java



More information about the serviceability-dev mailing list