langtools/src/share/classes/com/sun/tools/javac/code/Symtab.java
changeset 8241 4161b56e0d20
parent 8036 17b976649c61
child 8242 3873b4aaf4a8
equal deleted inserted replaced
8240:a3b8f0f8af91 8241:4161b56e0d20
   122     public final Type stringType;
   122     public final Type stringType;
   123     public final Type stringBufferType;
   123     public final Type stringBufferType;
   124     public final Type stringBuilderType;
   124     public final Type stringBuilderType;
   125     public final Type cloneableType;
   125     public final Type cloneableType;
   126     public final Type serializableType;
   126     public final Type serializableType;
       
   127     public final Type transientMethodHandleType; // transient - 292
   127     public final Type methodHandleType;
   128     public final Type methodHandleType;
       
   129     public final Type transientPolymorphicSignatureType; // transient - 292
   128     public final Type polymorphicSignatureType;
   130     public final Type polymorphicSignatureType;
   129     public final Type throwableType;
   131     public final Type throwableType;
   130     public final Type errorType;
   132     public final Type errorType;
   131     public final Type illegalArgumentExceptionType;
   133     public final Type illegalArgumentExceptionType;
   132     public final Type exceptionType;
   134     public final Type exceptionType;
   417         stringBufferType = enterClass("java.lang.StringBuffer");
   419         stringBufferType = enterClass("java.lang.StringBuffer");
   418         stringBuilderType = enterClass("java.lang.StringBuilder");
   420         stringBuilderType = enterClass("java.lang.StringBuilder");
   419         cloneableType = enterClass("java.lang.Cloneable");
   421         cloneableType = enterClass("java.lang.Cloneable");
   420         throwableType = enterClass("java.lang.Throwable");
   422         throwableType = enterClass("java.lang.Throwable");
   421         serializableType = enterClass("java.io.Serializable");
   423         serializableType = enterClass("java.io.Serializable");
   422         methodHandleType = enterClass("java.dyn.MethodHandle");
   424         transientMethodHandleType = enterClass("java.dyn.MethodHandle"); // transient - 292
   423         polymorphicSignatureType = enterClass("java.dyn.MethodHandle$PolymorphicSignature");
   425         methodHandleType = enterClass("java.lang.invoke.MethodHandle");
       
   426         transientPolymorphicSignatureType = enterClass("java.dyn.MethodHandle$PolymorphicSignature"); // transient - 292
       
   427         polymorphicSignatureType = enterClass("java.lang.invoke.MethodHandle$PolymorphicSignature");
   424         errorType = enterClass("java.lang.Error");
   428         errorType = enterClass("java.lang.Error");
   425         illegalArgumentExceptionType = enterClass("java.lang.IllegalArgumentException");
   429         illegalArgumentExceptionType = enterClass("java.lang.IllegalArgumentException");
   426         exceptionType = enterClass("java.lang.Exception");
   430         exceptionType = enterClass("java.lang.Exception");
   427         runtimeExceptionType = enterClass("java.lang.RuntimeException");
   431         runtimeExceptionType = enterClass("java.lang.RuntimeException");
   428         classNotFoundExceptionType = enterClass("java.lang.ClassNotFoundException");
   432         classNotFoundExceptionType = enterClass("java.lang.ClassNotFoundException");
   462                              autoCloseableType.tsym);
   466                              autoCloseableType.tsym);
   463         trustMeType = enterClass("java.lang.SafeVarargs");
   467         trustMeType = enterClass("java.lang.SafeVarargs");
   464 
   468 
   465         synthesizeEmptyInterfaceIfMissing(cloneableType);
   469         synthesizeEmptyInterfaceIfMissing(cloneableType);
   466         synthesizeEmptyInterfaceIfMissing(serializableType);
   470         synthesizeEmptyInterfaceIfMissing(serializableType);
       
   471         synthesizeEmptyInterfaceIfMissing(transientPolymorphicSignatureType); // transient - 292
   467         synthesizeEmptyInterfaceIfMissing(polymorphicSignatureType);
   472         synthesizeEmptyInterfaceIfMissing(polymorphicSignatureType);
   468         synthesizeBoxTypeIfMissing(doubleType);
   473         synthesizeBoxTypeIfMissing(doubleType);
   469         synthesizeBoxTypeIfMissing(floatType);
   474         synthesizeBoxTypeIfMissing(floatType);
   470         synthesizeBoxTypeIfMissing(voidType);
   475         synthesizeBoxTypeIfMissing(voidType);
   471 
   476