src/share/classes/com/sun/tools/javac/code/Symtab.java

Print this page

        

*** 145,154 **** --- 145,155 ---- public final Type deprecatedType; public final Type suppressWarningsType; public final Type inheritedType; public final Type proprietaryType; public final Type systemType; + public final Type autoCloseableType; /** The symbol representing the length field of an array. */ public final VarSymbol lengthVar;
*** 458,467 **** --- 459,469 ---- retentionType = enterClass("java.lang.annotation.Retention"); deprecatedType = enterClass("java.lang.Deprecated"); suppressWarningsType = enterClass("java.lang.SuppressWarnings"); inheritedType = enterClass("java.lang.annotation.Inherited"); systemType = enterClass("java.lang.System"); + autoCloseableType = enterClass("java.lang.AutoCloseable"); synthesizeEmptyInterfaceIfMissing(cloneableType); synthesizeEmptyInterfaceIfMissing(serializableType); synthesizeMHTypeIfMissing(methodHandleType); synthesizeMHTypeIfMissing(invokeDynamicType);