Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8151056

ASM enable original deprecated methods.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: other-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b115
    • CPU:
      generic
    • OS:
      generic

      Description

      Reverse this:
      diff --git a/src/java.base/share/classes/jdk/internal/org/objectweb/asm/commons/RemappingAnnotationAdapter.java b/src/java.base/share/classes/jdk/internal/org/objectweb/asm/commons/RemappingAnnotationAdapter.java
      --- a/src/java.base/share/classes/jdk/internal/org/objectweb/asm/commons/RemappingAnnotationAdapter.java
      +++ b/src/java.base/share/classes/jdk/internal/org/objectweb/asm/commons/RemappingAnnotationAdapter.java
      @@ -65,10 +65,10 @@
       /**
        * An {@link AnnotationVisitor} adapter for type remapping.
        *
      - * @deprecated use {@link AnnotationRemapper} instead.
      + * //@deprecated use {@link AnnotationRemapper} instead.
        * @author Eugene Kuleshov
        */
      -@Deprecated
      +//@Deprecated
       public class RemappingAnnotationAdapter extends AnnotationVisitor {
       
           protected final Remapper remapper;
      diff --git a/src/java.base/share/classes/jdk/internal/org/objectweb/asm/commons/RemappingMethodAdapter.java b/src/java.base/share/classes/jdk/internal/org/objectweb/asm/commons/RemappingMethodAdapter.java
      --- a/src/java.base/share/classes/jdk/internal/org/objectweb/asm/commons/RemappingMethodAdapter.java
      +++ b/src/java.base/share/classes/jdk/internal/org/objectweb/asm/commons/RemappingMethodAdapter.java
      @@ -69,10 +69,10 @@
       /**
        * A {@link LocalVariablesSorter} for type mapping.
        *
      - * @deprecated use {@link MethodRemapper} instead.
      + * //@deprecated use {@link MethodRemapper} instead.
        * @author Eugene Kuleshov
        */
      -@Deprecated
      +//@Deprecated
       public class RemappingMethodAdapter extends LocalVariablesSorter {
       
           protected final Remapper remapper;

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ksrini Kumar Srinivasan
                Reporter:
                ksrini Kumar Srinivasan
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: