test/tools/javac/6520152/T.java

Tue, 08 Nov 2011 11:51:05 -0800

author
jjg
date
Tue, 08 Nov 2011 11:51:05 -0800
changeset 1127
ca49d50318dc
parent 0
959103a6100f
permissions
-rw-r--r--

6921494: provide way to print javac tree tag values
Reviewed-by: jjg, mcimadamore
Contributed-by: vicenterz@yahoo.es

     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