jdk/src/share/classes/java/lang/invoke/InnerClassLambdaMetafactory.java
changeset 16859 45fbee947921
parent 16854 9371f5046d02
child 18182 a86f1b828425
equal deleted inserted replaced
16858:41b017998f9f 16859:45fbee947921
   182         String[] interfaces = new String[markerInterfaces.length + 1];
   182         String[] interfaces = new String[markerInterfaces.length + 1];
   183         interfaces[0] = samName;
   183         interfaces[0] = samName;
   184         for (int i=0; i<markerInterfaces.length; i++) {
   184         for (int i=0; i<markerInterfaces.length; i++) {
   185             interfaces[i+1] = markerInterfaces[i].getName().replace('.', '/');
   185             interfaces[i+1] = markerInterfaces[i].getName().replace('.', '/');
   186         }
   186         }
   187         cw.visit(CLASSFILE_VERSION, ACC_SUPER + ACC_FINAL,
   187         cw.visit(CLASSFILE_VERSION, ACC_SUPER + ACC_FINAL + ACC_SYNTHETIC,
   188                  lambdaClassName, null,
   188                  lambdaClassName, null,
   189                  NAME_MAGIC_ACCESSOR_IMPL, interfaces);
   189                  NAME_MAGIC_ACCESSOR_IMPL, interfaces);
   190 
   190 
   191         // Generate final fields to be filled in by constructor
   191         // Generate final fields to be filled in by constructor
   192         for (int i = 0; i < argTypes.length; i++) {
   192         for (int i = 0; i < argTypes.length; i++) {