< prev index next >

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

Print this page
@@ -1,7 +1,7 @@
  /*
-  * Copyright (c) 2023, 2025, Oracle and/or its affiliates. All rights reserved.
+  * Copyright (c) 2023, 2026, Oracle and/or its affiliates. All rights reserved.
   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   *
   * This code is free software; you can redistribute it and/or modify it
   * under the terms of the GNU General Public License version 2 only, as
   * published by the Free Software Foundation.  Oracle designates this

@@ -82,10 +82,14 @@
                          .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.ofSymbols(
+                         pa.loadableDescriptorSymbols().stream()
+                                 .map(this::map).toList()));
              case RuntimeVisibleAnnotationsAttribute aa ->
                  clb.with(RuntimeVisibleAnnotationsAttribute.of(
                          mapAnnotations(aa.annotations())));
              case RuntimeInvisibleAnnotationsAttribute aa ->
                  clb.with(RuntimeInvisibleAnnotationsAttribute.of(
< prev index next >