test/tools/javac/lambda/methodReference/SamConversion.java

changeset 1435
9b26c96f5138
parent 1415
01c9d4161882
child 1510
7873d37f5b37
     1.1 --- a/test/tools/javac/lambda/methodReference/SamConversion.java	Fri Nov 30 15:14:25 2012 +0000
     1.2 +++ b/test/tools/javac/lambda/methodReference/SamConversion.java	Fri Nov 30 15:14:36 2012 +0000
     1.3 @@ -133,15 +133,6 @@
     1.4          } catch (Exception e) {
     1.5              assertTrue(false);
     1.6          }
     1.7 -
     1.8 -        bar = new A()::method6;
     1.9 -        try {
    1.10 -            bar.m(1);
    1.11 -            assertTrue(false);
    1.12 -        } catch (MyException e) {
    1.13 -        } catch (Exception e) {
    1.14 -            assertTrue(false);
    1.15 -        }
    1.16      }
    1.17  
    1.18      /**

mercurial