Wed, 17 Jul 2013 14:11:41 +0100
8012238: Nested method capture and inference
8008200: java/lang/Class/asSubclass/BasicUnit.java fails to compile
Summary: Inference support should be more flexible w.r.t. nested method calls returning captured types
Reviewed-by: jjg, vromero
2 /**
3 * This class is used to test the results of the langtools build.
4 */
5 public class HelloWorld {
7 public HelloWorld();
9 /**
10 * The old standby!
11 * @param args The parameters are ignored.
12 */
13 public static void main(java.lang.String... args);
15 /**
16 * This declaration is for the benefit of javah tests.
17 */
18 public native void test();
19 }