8143647: Javac compiles method reference that allows results in an IllegalAccessErrorSummary: Lambda implementation method synthesized by javac should not mention inaccessible types.Reviewed-by: mcimadamore