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

changeset 1407
f14c693a0e48
parent 1380
a65971893c50
child 1492
df694c775e8a
child 1569
475eb15dfdad
equal deleted inserted replaced
1406:2901c7b5339e 1407:f14c693a0e48
128 public final Type serializableType; 128 public final Type serializableType;
129 public final Type methodHandleType; 129 public final Type methodHandleType;
130 public final Type methodHandleLookupType; 130 public final Type methodHandleLookupType;
131 public final Type methodTypeType; 131 public final Type methodTypeType;
132 public final Type nativeHeaderType; 132 public final Type nativeHeaderType;
133 public final Type nativeHeaderType_old;
133 public final Type throwableType; 134 public final Type throwableType;
134 public final Type errorType; 135 public final Type errorType;
135 public final Type interruptedExceptionType; 136 public final Type interruptedExceptionType;
136 public final Type illegalArgumentExceptionType; 137 public final Type illegalArgumentExceptionType;
137 public final Type exceptionType; 138 public final Type exceptionType;
503 names.close, 504 names.close,
504 new MethodType(List.<Type>nil(), voidType, 505 new MethodType(List.<Type>nil(), voidType,
505 List.of(exceptionType), methodClass), 506 List.of(exceptionType), methodClass),
506 autoCloseableType.tsym); 507 autoCloseableType.tsym);
507 trustMeType = enterClass("java.lang.SafeVarargs"); 508 trustMeType = enterClass("java.lang.SafeVarargs");
508 nativeHeaderType = enterClass("javax.tools.annotation.GenerateNativeHeader"); 509 nativeHeaderType = enterClass("java.lang.annotation.Native");
510 nativeHeaderType_old = enterClass("javax.tools.annotation.GenerateNativeHeader");
509 lambdaMetafactory = enterClass("java.lang.invoke.LambdaMetafactory"); 511 lambdaMetafactory = enterClass("java.lang.invoke.LambdaMetafactory");
510 512
511 synthesizeEmptyInterfaceIfMissing(autoCloseableType); 513 synthesizeEmptyInterfaceIfMissing(autoCloseableType);
512 synthesizeEmptyInterfaceIfMissing(cloneableType); 514 synthesizeEmptyInterfaceIfMissing(cloneableType);
513 synthesizeEmptyInterfaceIfMissing(serializableType); 515 synthesizeEmptyInterfaceIfMissing(serializableType);

mercurial