changeset 10 | 06bc494ca11e |
child 37633 | d16d6d59446d |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/langtools/test/tools/javac/6520152/T.java Sat Dec 01 00:00:00 2007 +0000 @@ -0,0 +1,15 @@ +import java.io.Serializable; + +public class T { + public static void main(String[] args) { + T t = new T(); + t.createObject(); + } + + public Object createObject() { + return new Serializable() { + void method() { + } + }; + } +}