8138729: javac -parameters should not emit parameter names for lambda expressions

Reviewed-by: mcimadamore
This commit is contained in:
Srikanth Adayapalam 2015-10-21 17:52:43 +05:30
parent 08b811e8d6
commit 32cea7c65b
6 changed files with 19 additions and 17 deletions

View file

@ -23,7 +23,7 @@
/*
* @test
* @bug 8006582 8037546
* @bug 8006582 8037546 8138729
* @summary javac should generate method parameters correctly.
* @modules jdk.jdeps/com.sun.tools.classfile
* @build Tester
@ -32,8 +32,8 @@
*/
/**
* Post https://bugs.openjdk.java.net/browse/JDK-8037546, this test verifies
* that MethodParameters attribute for lambdas are emitted properly.
* Post https://bugs.openjdk.java.net/browse/JDK-8138729, this test verifies
* that MethodParameters attribute are NOT emitted for lambdas.
*/
class LambdaTest {