test/tools/javac/6520152/T.java

Mon, 06 Sep 2010 12:55:09 -0700

author
jjg
date
Mon, 06 Sep 2010 12:55:09 -0700
changeset 672
ea54372637a5
parent 0
959103a6100f
permissions
-rw-r--r--

6930507: Symbols for anonymous and local classes made too late for use by java tree API
Reviewed-by: mcimadamore

     1 import java.io.Serializable;
     3 public class T {
     4     public static void main(String[] args) {
     5         T t = new T();
     6         t.createObject();
     7     }
     9     public Object createObject() {
    10         return new Serializable() {
    11             void method() {
    12             }
    13         };
    14     }
    15 }

mercurial