< prev index next >

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

Print this page

        

@@ -159,10 +159,11 @@
     public final ModuleSymbol java_base;
 
     /** Predefined types.
      */
     public final Type objectType;
+    public final Type objectMethodBuildersType;
     public final Type objectsType;
     public final Type classType;
     public final Type classLoaderType;
     public final Type stringType;
     public final Type stringBufferType;

@@ -212,10 +213,13 @@
     public final Type stringConcatFactory;
     public final Type repeatableType;
     public final Type documentedType;
     public final Type elementTypeType;
     public final Type functionalInterfaceType;
+    public final Type patternHandlesType;
+    public final Type patternHandleType;
+    public final Type typeDescriptorType;
 
     /** The symbol representing the length field of an array.
      */
     public final VarSymbol lengthVar;
 

@@ -506,10 +510,11 @@
         // Get the initial completer for ModuleSymbols from Modules
         moduleCompleter = Modules.instance(context).getCompleter();
 
         // Enter predefined classes. All are assumed to be in the java.base module.
         objectType = enterClass("java.lang.Object");
+        objectMethodBuildersType = enterClass("java.lang.invoke.ObjectMethodBuilders");
         objectsType = enterClass("java.util.Objects");
         classType = enterClass("java.lang.Class");
         stringType = enterClass("java.lang.String");
         stringBufferType = enterClass("java.lang.StringBuffer");
         stringBuilderType = enterClass("java.lang.StringBuilder");

@@ -568,10 +573,13 @@
         trustMeType = enterClass("java.lang.SafeVarargs");
         nativeHeaderType = enterClass("java.lang.annotation.Native");
         lambdaMetafactory = enterClass("java.lang.invoke.LambdaMetafactory");
         stringConcatFactory = enterClass("java.lang.invoke.StringConcatFactory");
         functionalInterfaceType = enterClass("java.lang.FunctionalInterface");
+        patternHandlesType = enterClass("java.lang.runtime.PatternHandles");
+        patternHandleType = enterClass("java.lang.runtime.PatternHandle");
+        typeDescriptorType = enterClass("java.lang.invoke.TypeDescriptor");
 
         synthesizeEmptyInterfaceIfMissing(autoCloseableType);
         synthesizeEmptyInterfaceIfMissing(cloneableType);
         synthesizeEmptyInterfaceIfMissing(serializableType);
         synthesizeEmptyInterfaceIfMissing(lambdaMetafactory);
< prev index next >