src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symtab.java
changeset 58713 ad69fd32778e
parent 54514 b0651dcc8d98
child 59058 3f57daa2d6eb
equal deleted inserted replaced
58712:14e098407bb0 58713:ad69fd32778e
   212     public final Type stringConcatFactory;
   212     public final Type stringConcatFactory;
   213     public final Type repeatableType;
   213     public final Type repeatableType;
   214     public final Type documentedType;
   214     public final Type documentedType;
   215     public final Type elementTypeType;
   215     public final Type elementTypeType;
   216     public final Type functionalInterfaceType;
   216     public final Type functionalInterfaceType;
       
   217     public final Type previewFeatureType;
   217 
   218 
   218     /** The symbol representing the length field of an array.
   219     /** The symbol representing the length field of an array.
   219      */
   220      */
   220     public final VarSymbol lengthVar;
   221     public final VarSymbol lengthVar;
   221 
   222 
   568         trustMeType = enterClass("java.lang.SafeVarargs");
   569         trustMeType = enterClass("java.lang.SafeVarargs");
   569         nativeHeaderType = enterClass("java.lang.annotation.Native");
   570         nativeHeaderType = enterClass("java.lang.annotation.Native");
   570         lambdaMetafactory = enterClass("java.lang.invoke.LambdaMetafactory");
   571         lambdaMetafactory = enterClass("java.lang.invoke.LambdaMetafactory");
   571         stringConcatFactory = enterClass("java.lang.invoke.StringConcatFactory");
   572         stringConcatFactory = enterClass("java.lang.invoke.StringConcatFactory");
   572         functionalInterfaceType = enterClass("java.lang.FunctionalInterface");
   573         functionalInterfaceType = enterClass("java.lang.FunctionalInterface");
       
   574         previewFeatureType = enterClass("jdk.internal.PreviewFeature");
   573 
   575 
   574         synthesizeEmptyInterfaceIfMissing(autoCloseableType);
   576         synthesizeEmptyInterfaceIfMissing(autoCloseableType);
   575         synthesizeEmptyInterfaceIfMissing(cloneableType);
   577         synthesizeEmptyInterfaceIfMissing(cloneableType);
   576         synthesizeEmptyInterfaceIfMissing(serializableType);
   578         synthesizeEmptyInterfaceIfMissing(serializableType);
   577         synthesizeEmptyInterfaceIfMissing(lambdaMetafactory);
   579         synthesizeEmptyInterfaceIfMissing(lambdaMetafactory);