test/tools/javac/T7090499.java

Thu, 26 Mar 2015 11:34:50 +0100

author
jlahoda
date
Thu, 26 Mar 2015 11:34:50 +0100
changeset 2734
ba758e1ffa69
parent 0
959103a6100f
permissions
-rw-r--r--

8054220: Debugger doesn't show variables *outside* lambda
8058227: Debugger has no access to outer variables inside Lambda
Summary: Put local variables captured by lambda into the lambda method's LocalVariableTable.
Reviewed-by: mcimadamore, rfield

     1 /*
     2  * @test /nodynamiccopyright/
     3  * @bug 7090499
     4  * @summary missing rawtypes warnings in anonymous inner class
     5  * @compile/ref=T7090499.out -Xlint:rawtypes -XDrawDiagnostics T7090499.java
     6  */
     8 class T7090499<X> {
     9     {
    10         new Object() {
    11             T7090499 x;
    12         };
    13     }
    14 }

mercurial