< prev index next >

src/java.base/share/classes/jdk/internal/classfile/impl/ClassRemapperImpl.java

Print this page
*** 50,10 ***
--- 50,11 ---
  import java.lang.classfile.attribute.AnnotationDefaultAttribute;
  import java.lang.classfile.attribute.EnclosingMethodAttribute;
  import java.lang.classfile.attribute.ExceptionsAttribute;
  import java.lang.classfile.attribute.InnerClassInfo;
  import java.lang.classfile.attribute.InnerClassesAttribute;
+ import java.lang.classfile.attribute.LoadableDescriptorsAttribute;
  import java.lang.classfile.attribute.ModuleAttribute;
  import java.lang.classfile.attribute.ModuleProvideInfo;
  import java.lang.classfile.attribute.NestHostAttribute;
  import java.lang.classfile.attribute.NestMembersAttribute;
  import java.lang.classfile.attribute.PermittedSubclassesAttribute;

*** 138,10 ***
--- 139,12 ---
                          .map(nm -> map(nm.asSymbol())).toList()));
              case PermittedSubclassesAttribute psa ->
                  clb.with(PermittedSubclassesAttribute.ofSymbols(
                          psa.permittedSubclasses().stream().map(ps ->
                                  map(ps.asSymbol())).toList()));
+             case LoadableDescriptorsAttribute pa ->
+                 clb.with(LoadableDescriptorsAttribute.of(pa.loadableDescriptors()));
              case RuntimeVisibleAnnotationsAttribute aa ->
                  clb.with(RuntimeVisibleAnnotationsAttribute.of(
                          mapAnnotations(aa.annotations())));
              case RuntimeInvisibleAnnotationsAttribute aa ->
                  clb.with(RuntimeInvisibleAnnotationsAttribute.of(
< prev index next >